From d1315392a15d63d41141a9d9be142a1a02dc788c Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 13 Apr 2022 16:15:23 +0200 Subject: [PATCH] update --- .gitlab-ci.yml | 1 + test/test.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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();