This commit is contained in:
Philipp Kunz 2022-04-13 16:15:23 +02:00
parent cf894d9e82
commit d1315392a1
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ audit:
- lossless
- docker
- notpriv
allow_failure: true
# ====================
# test stage

View File

@ -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();