11 lines
		
	
	
		
			273 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			273 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { expect, tap } from '@push.rocks/tapbundle';
 | |
| 
 | |
| import * as smartstatus from '../ts/index.js';
 | |
| 
 | |
| tap.test('should get a status by codeString', async () => {
 | |
|   const status = smartstatus.HttpStatus.getHttpStatusByString('404');
 | |
|   console.log(status);
 | |
| });
 | |
| 
 | |
| tap.start();
 |