smartupdate/test/test.ts

9 lines
266 B
TypeScript
Raw Normal View History

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