fix(core): update

This commit is contained in:
2019-01-02 01:00:53 +01:00
parent 55eb01c425
commit 8900619bc9
30 changed files with 1945 additions and 2658 deletions

View File

@ -1,8 +1,13 @@
import { expect, tap } from 'tapbundle'
import { expect, tap } from '@pushrocks/tapbundle';
import * as smartstatus from '../dist/index'
import * as smartstatus from '../ts/index';
tap.test('should create valid status classes', async () => {
let myStatus301 = new smartstatus.status301()
return expect(myStatus301).to.be.instanceOf(smartstatus.HttpStatus)
})
const myStatus301 = new smartstatus.status301();
console.log(myStatus301.code);
console.log(myStatus301.text);
console.log(myStatus301.description);
return expect(myStatus301).to.be.instanceOf(smartstatus.HttpStatus);
});
tap.start();