Skip to content

Commit 53e8ae5

Browse files
Danilo AlonsoMarsup
Danilo Alonso
authored andcommitted
fix: 🐛 Run lab TS tests
1 parent 8e61da9 commit 53e8ae5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@
6464
"@hapi/hawk": "^8.0.0",
6565
"@hapi/lab": "^25.0.1",
6666
"@hapi/teamwork": "^6.0.0",
67+
"@types/node": "^20.11.30",
6768
"typescript": "^5.4.2"
6869
},
6970
"scripts": {
70-
"test": "lab -a @hapi/code -t 100 -L -m 3000",
71+
"test": "lab -a @hapi/code -t 100 -L -m 3000 -Y",
7172
"test-cov-html": "lab -a @hapi/code -r html -o coverage.html -m 3000"
7273
},
7374
"license": "BSD-3-Clause"

test/types/index.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
import lab from '@hapi/lab';
2-
31
import * as Bell from '../..';
42
import { Server } from '@hapi/hapi';
53

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

10-
11-
128
Bell.simulate(async () => ({}));
139
Bell.simulate(() => ({}));
1410

0 commit comments

Comments
 (0)