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