Skip to content

Commit

Permalink
fix: 🐛 Run lab TS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Danilo Alonso authored and Marsup committed Mar 19, 2024
1 parent 8e61da9 commit 53e8ae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@
"@hapi/hawk": "^8.0.0",
"@hapi/lab": "^25.0.1",
"@hapi/teamwork": "^6.0.0",
"@types/node": "^20.11.30",
"typescript": "^5.4.2"
},
"scripts": {
"test": "lab -a @hapi/code -t 100 -L -m 3000",
"test": "lab -a @hapi/code -t 100 -L -m 3000 -Y",
"test-cov-html": "lab -a @hapi/code -r html -o coverage.html -m 3000"
},
"license": "BSD-3-Clause"
Expand Down
4 changes: 0 additions & 4 deletions test/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import lab from '@hapi/lab';

import * as Bell from '../..';
import { Server } from '@hapi/hapi';

async function run() {
const server = new Server({ port: 8000 });
await server.register(Bell);



Bell.simulate(async () => ({}));
Bell.simulate(() => ({}));

Expand Down

0 comments on commit 53e8ae5

Please sign in to comment.