Skip to content

Commit dfd60fb

Browse files
fix: correct spelling in test snapshot and increase watcher test timeout
1 parent 86fbc49 commit dfd60fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/nx/src/native/tests/watcher.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('watcher', () => {
106106
await wait();
107107
temp.renameFile('app1/main.js', 'app1/rename.js');
108108
});
109-
}, 15000);
109+
}, 30000);
110110

111111
it('should trigger on deletes', async () => {
112112
return new Promise<void>(async (done) => {
@@ -183,4 +183,4 @@ function wait(timeout = 1000) {
183183
res();
184184
}, timeout);
185185
});
186-
}
186+
}

packages/nx/src/tasks-runner/task-graph-utils.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,10 @@ describe('task graph utils', () => {
376376
expect(() => {
377377
assertTaskGraphDoesNotContainInvalidTargets(taskGraph);
378378
}).toThrowErrorMatchingInlineSnapshot(`
379-
"The following continous tasks do not support parallelism but are depended on:
379+
"The following continuous tasks do not support parallelism but are depended on:
380380
- b:watch <- a:build
381381
Parallelism must be enabled for a continuous task if it is depended on, as the tasks that depend on it will run in parallel with it."
382382
`);
383383
});
384384
});
385-
});
385+
});

0 commit comments

Comments
 (0)