We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
killAllProcesses
1 parent 8df2043 commit 5370b03Copy full SHA for 5370b03
tests/legacy-cli/e2e/tests/basic/serve.ts
@@ -1,10 +1,13 @@
1
+import { setTimeout } from 'node:timers/promises';
2
import { killAllProcesses } from '../../utils/process';
3
import { ngServe } from '../../utils/project';
4
5
export default async function () {
6
// Serve works without HMR
7
const noHmrPort = await ngServe('--no-hmr');
8
await verifyResponse(noHmrPort);
9
+
10
+ await setTimeout(500);
11
await killAllProcesses();
12
13
// Serve works with HMR
0 commit comments