smartstatus/test/test.ts
2019-01-02 02:08:12 +01:00

11 lines
269 B
TypeScript

import { expect, tap } from '@pushrocks/tapbundle';
import * as smartstatus from '../ts/index';
tap.test('should get a status by codeString', async () => {
const status = smartstatus.HttpStatus.getHttpStatusByString('404');
console.log(status);
});
tap.start();