smartversion/test/test.ts
2017-08-17 16:15:47 +02:00

11 lines
344 B
TypeScript

import { expect, tap } from 'tapbundle'
import * as smartversion from '../ts/index'
let localSmartVersion: smartversion.SmartVersion
tap.test('should create a valid SmartVersion', async () => {
localSmartVersion = new smartversion.SmartVersion('3.2.1')
expect(localSmartVersion).to.be.instanceof(smartversion.SmartVersion)
})
tap.start()