2018-05-22 13:49:26 +00:00
|
|
|
import { expect, tap } from 'tapbundle';
|
|
|
|
import * as smartupdate from '../ts/index';
|
2017-08-15 17:29:18 +00:00
|
|
|
|
2017-08-16 16:54:23 +00:00
|
|
|
tap.test('should check for a npm module', async () => {
|
2018-05-22 13:49:26 +00:00
|
|
|
await smartupdate.standardHandler.check(
|
|
|
|
'lodash',
|
|
|
|
'1.0.5',
|
|
|
|
'http://gitzone.gitlab.io/npmts/changelog.html'
|
|
|
|
);
|
|
|
|
});
|
2017-08-15 17:29:18 +00:00
|
|
|
|
2018-05-22 13:49:26 +00:00
|
|
|
tap.start();
|