smartstatus/test/test.ts

8 lines
272 B
TypeScript
Raw Normal View History

2017-04-12 09:38:52 +00:00
import { expect, tap } from 'tapbundle'
import * as smartstatus from '../dist/index'
tap.test('should create valid status classes', async () => {
let myStatus301 = new smartstatus.status301()
return expect(myStatus301).to.be.instanceOf(smartstatus.HttpStatus)
})