smartupdate/test/test.ts

9 lines
266 B
TypeScript
Raw Permalink Normal View History

2017-08-15 17:29:18 +00:00
import { expect, tap } from 'tapbundle'
import * as smartupdate from '../ts/index'
2017-08-16 16:54:23 +00:00
tap.test('should check for a npm module', async () => {
2017-08-19 22:45:45 +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
})
tap.start()