diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ebc8b5..56bcc38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,7 @@ audit: - lossless - docker - notpriv + allow_failure: true # ==================== # test stage diff --git a/test/test.ts b/test/test.ts index d9949e4..54896b2 100644 --- a/test/test.ts +++ b/test/test.ts @@ -8,7 +8,8 @@ tap.test('should create an instance of SmartUpdate', async () => { }); tap.test('should check for a npm module', async () => { - await testSmartUpdate.check('lodash', '1.0.5'); + const result = await testSmartUpdate.check('lodash', '1.0.5'); + expect(result).toBeTrue(); }); tap.start();