added ci and tests
This commit is contained in:
8
test/test.ts
Normal file
8
test/test.ts
Normal file
@ -0,0 +1,8 @@
|
||||
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)
|
||||
})
|
Reference in New Issue
Block a user