We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e61da9 commit 53e8ae5Copy full SHA for 53e8ae5
package.json
@@ -64,10 +64,11 @@
64
"@hapi/hawk": "^8.0.0",
65
"@hapi/lab": "^25.0.1",
66
"@hapi/teamwork": "^6.0.0",
67
+ "@types/node": "^20.11.30",
68
"typescript": "^5.4.2"
69
},
70
"scripts": {
- "test": "lab -a @hapi/code -t 100 -L -m 3000",
71
+ "test": "lab -a @hapi/code -t 100 -L -m 3000 -Y",
72
"test-cov-html": "lab -a @hapi/code -r html -o coverage.html -m 3000"
73
74
"license": "BSD-3-Clause"
test/types/index.ts
@@ -1,14 +1,10 @@
1
-import lab from '@hapi/lab';
2
-
3
import * as Bell from '../..';
4
import { Server } from '@hapi/hapi';
5
6
async function run() {
7
const server = new Server({ port: 8000 });
8
await server.register(Bell);
9
10
11
12
Bell.simulate(async () => ({}));
13
Bell.simulate(() => ({}));
14
0 commit comments