99 Commits

Author SHA1 Message Date
Justin Dalrymple
22d916a05f
fix: resourceDiscussions.editNote add content params, and allowed discussionId to accept a string type (#524)
Co-authored-by: Liu Jia <ldspirit0801@163.com>
2020-01-03 14:26:17 +01:00
Justin Dalrymple
4f46e1e49e
test: Add test to catch issue brought up by #499 (#516) 2019-12-22 18:49:02 +01:00
Justin
6558f09522 Switching version option type
BREAKING CHANGE: Switch the version option to be a number and not a string. For example 4 instead of 'v4'.
2019-11-21 11:01:48 +01:00
Justin
79d8c718b0 fix: Fixing the inability to use environment variables in the cli export (#463)
chore: Cleaning up the rollup configuration
chore: Updating packages to remove vulnerabilities
docs: Updating usage documentation to improve clarity
test: Adding proper tests for cli functionality
closes:#458
2019-11-21 11:00:18 +01:00
Justin Dalrymple
15c841c15b fix: Fixing some minor bugs (#486)
* fix: Change mapping import to be dynamic and fix old reference to humps
* chore: Removing default exports
* fix: Cleaning up .d.ts export
* docs: Adding browser example
* fix: Fixing rollup config

closes: #485
closes: #475
2019-10-28 14:10:54 +01:00
Justin Dalrymple
5f70dcac6c
test: Updating test scripts to not have fixed sleep calls while waiting for the gitlab instance to start up (#464) 2019-10-23 13:52:41 +02:00
Zack Urben
1289c2bac0 Addressing PR comments. 2019-10-03 19:13:06 +00:00
Justin
78b9ad652d Forgotten folder references 2019-08-30 20:22:13 -04:00
Justin
6f90f4c67d feat: Adding support for CLI
closes: #146
2019-08-30 17:50:16 -04:00
Justin
7ad98e2ae6 Adding extra log to narrow down where gitlab error occurs 2019-08-28 12:08:46 -04:00
Kimmo Sääskilahti
f66f50c2de
Add type exports.
- Add type exports.
- Add types to bundle unit tests.
2019-08-27 13:10:19 +03:00
Justin
45ab1fe66d test: Fixing tests expectations 2019-08-22 16:47:51 -04:00
Justin
8e5dfc00cd chore: Major linting fixes 2019-08-22 11:52:28 -04:00
Justin
e68bdabd8a Add pagination object check 2019-07-12 12:12:00 -04:00
Justin
6fea712a69 Typo and typing 2019-07-12 11:05:48 -04:00
Justin
19acfc6928 Adding all test 2019-07-12 10:21:55 -04:00
Justin
ae5cb1730a test fixes 2019-07-11 17:39:26 -04:00
Justin
199e32d34e refactor: Adding required labelName and colour option to the create method
BREAKING CHANGE: Labels require a colour and a name to be created. Now the create method takes a second and third argument: 'labelName' and 'color'
2019-07-11 17:18:28 -04:00
Justin
c9a681d402 test: Adding basic Labels API test 2019-07-11 16:02:43 -04:00
Justin
4d758e415f test: Improved unit tests for pagination checks 2019-07-11 16:02:43 -04:00
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