Justin
3e82ef6e5e
Incorrect test string
2019-07-04 15:57:36 -04:00
Justin
63c2844198
Missing nesting in test logic
2019-07-04 15:44:42 -04:00
Justin
666fe7a519
Missing async keyword
2019-07-04 15:20:51 -04:00
Justin
ad4e973817
test: Adding project upload test
2019-07-04 13:30:38 -04:00
Justin
f7425a72e2
fix: PushRules were missing from the ProjectBundle export and the README. #373
...
BREAKING CHANGE: PushRule export was renamed to PushRules to match the plurality of the export names
2019-07-02 13:48:52 -04:00
Justin
d50f53ceb5
test: Switching integration tests to be run on the compiled library
2019-07-01 12:52:39 -04:00
Justin
f9a47c7beb
fix: Revert support for the rejectUnauthorized option until issues in #377 are sorted.
2019-07-01 12:30:39 -04:00
Justin
2e9b8e8ac4
test: Fixing errors in the tests due to restrictive typing
2019-06-28 14:26:50 -04:00
Justin
3b9454f5ad
test: Include check to not use rejectUnauthorized in integration tests since they are directed towards localhost
2019-06-27 14:16:41 -04:00
Justin
67aa49cde3
test: Fixing some linting in the tests
2019-06-27 14:13:02 -04:00
Justin
b68d294145
test: Remove every code except 2339
2019-06-17 00:16:12 -04:00
mseyma
4d99902a10
feat: Add configurable request timeout ( #341 )
...
Adds the ability for the client to configure the timeout (default is still 300 seconds)
2019-06-08 17:14:51 -04:00
Justin
6c5f81b83e
test: Updating push rule test to improve clarity
2019-05-25 19:05:28 -04:00
Justin
c10690c609
test: More jest matcher updates
2019-05-25 19:05:28 -04:00
Justin
106e112dbe
test: General updates to various tests to use the proper jest matchers
2019-05-25 19:05:28 -04:00
Justin
052d6ea11e
test: Fix the ApplicationSettings test to work with the default camelize option
2019-05-25 19:05:28 -04:00
Justin
844e8f44ab
test: Add integration test for the ProjectBundle export
2019-05-25 19:05:28 -04:00
Justin
7ebb616a67
test: Remove nested test structure
2019-05-25 19:05:28 -04:00
Justin
54d804e0ae
test: Updating tests to match changes to bundler function
2019-05-25 19:05:28 -04:00
Justin
4349da7408
test: Adding tests for the new camelize option
2019-05-25 19:05:28 -04:00
Justin
b780a5f520
test: Modified maxPages test to better handle the issue seen in #311
2019-05-25 19:05:28 -04:00
Pavel Birukov
5b62707c2e
Merge branch 'master' into add-types
2018-10-30 15:19:12 +01:00
Pavel Birukov
f2da029b15
Fix unreliable ApplicationSettings test
...
it tests internals of Gitlab instead of funtionality, and fails on new versions of Gitlab, if they change the list of available settings
2018-10-30 12:16:10 +01:00
Pavel Birukov
0b4c7849ce
Merge branch 'master' into add-types
2018-10-30 12:00:37 +01:00
Justin Dalrymple
dececa6bd1
fix: Updating application settings test to match updated API
2018-10-29 09:55:08 -04:00
Pavel Birukov
ba65cd288e
Fix type error after rebase
2018-10-12 11:48:46 +03:00
Pavel Birukov
4b1753260d
Another batch of fixes
2018-10-12 00:20:59 +03:00
Pavel Birukov
6bfffa0f14
Verify types in tests
2018-10-11 21:17:24 +03:00
Justin
dcee7ac5a5
fix: jest.config file to properly run tests again. Follow up issue to fix these exceptions
2018-10-09 20:22:39 -04:00
Justin Dalrymple
0d345b717f
fix: Updating ApplicationSettings test
2018-09-25 18:13:18 -04:00
Bruno Guimarães
11a50ebc29
Added user snippets API support ( #189 )
...
* Added user snippets API support
* Combined functions 'all' and 'allPublic'
* Added 'Snippets' as supported API
* Fixed lint error (` should be ')
* Added test for creating snippets
2018-09-18 18:37:29 -04:00
jdalrymple
6d5a4b92b0
Typescript Support ( #183 )
...
* chore: Introduce typescript
* chore: Remove lodash.pick, use native js instead
* chore: Add tslint and extend Airbnb ruleset
* chore: Remove Babel Dependency, replace build steps with tsc
* chore: change target for modern env from es2017 to es6 (async/await should be transpiled to downlevel js)
* chore(package): Updating packages
* fix: Fix error while throwing an error in RequestHelper (#156 )
* feat: Support rejectUnauthorized parameter (#164 )
* feat: Adding project archive abilities
* fix(test): Application settings API updated (#177 )
* fix: Removing token requirement (#176 )
* chore: Removing npmignore and using files instead.
* fix: obey rate limits for all request types correctly (#170 )
* fix: Camel casing broke the body params
2018-09-05 11:22:28 -04:00
jdalrymple
e33c08ac2e
Remove token requirement ( #176 )
...
* fix: Removing token requirement #173
* chore: Updating npmignore to decrease package size
2018-08-27 21:26:43 -04:00
jdalrymple
0723a7af8a
fix(test): Application settings api updated ( #177 )
2018-08-27 21:11:50 -04:00
Pavel Birukov
09c2ab416f
Make CI green again ( #150 )
...
* Disable cache on travis
* Fix linter failures
* Disable PushRule test (EE-only feature)
2018-08-14 13:18:09 -04:00
Joseph Petersen
395f83c335
feat: Add push rule service ( #143 )
2018-08-10 21:43:16 -04:00
Justin
8d281f2578
Missing key
2018-07-23 22:17:05 -04:00
Justin
a2732b9eda
feat: Making API version modifyable
2018-07-23 19:43:53 -04:00
Justin
05652082d0
Wrong expect function
2018-07-02 15:20:11 -04:00
Justin
312d21768f
Missed property
2018-07-02 15:15:10 -04:00
Justin
53451c5f3e
Adding more properties to test against
2018-07-02 15:03:59 -04:00
Justin
a354736ca8
Using the incorrect function
2018-07-02 14:41:47 -04:00
Justin
3741186718
test: Adding basic ApplicationSettings tests to improve coverage
2018-07-02 14:12:18 -04:00
Justin
eb691a4548
Linting fix
2018-06-21 23:59:19 -04:00
Justin Dalrymple
eeec3716ad
Fixing some test linting warnings, and duplicate data declaration
2018-06-06 12:53:03 -04:00
Justin
e77dbd0f69
more linting
2018-06-05 22:53:49 -04:00
Justin
d1070b3550
Linting
2018-06-05 22:47:26 -04:00
Justin
9e9dac6128
Linting
2018-06-05 22:39:09 -04:00
Justin
3b1e91d60a
Fixing quotes
2018-06-05 22:35:10 -04:00
Justin
da8c8313ea
Linting
2018-06-05 22:25:10 -04:00