11 lines
269 B
TypeScript
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();
|