smartstatus/test/test.ts

11 lines
269 B
TypeScript
Raw Normal View History

2019-01-02 00:00:53 +00:00
import { expect, tap } from '@pushrocks/tapbundle';
2017-04-12 09:38:52 +00:00
2019-01-02 00:00:53 +00:00
import * as smartstatus from '../ts/index';
2017-04-12 09:38:52 +00:00
2019-01-02 01:08:12 +00:00
tap.test('should get a status by codeString', async () => {
const status = smartstatus.HttpStatus.getHttpStatusByString('404');
console.log(status);
2019-01-02 00:00:53 +00:00
});
tap.start();