We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8465d4 commit 9efcb03Copy full SHA for 9efcb03
tests/legacy-cli/e2e/tests/vitest/absolute-include.ts
@@ -0,0 +1,12 @@
1
+import assert from 'node:assert/strict';
2
+import { applyVitestBuilder } from '../../utils/vitest';
3
+import { ng } from '../../utils/process';
4
+import path from 'node:path';
5
+
6
+export default async function (): Promise<void> {
7
+ await applyVitestBuilder();
8
9
+ const { stdout } = await ng('test', '--include', path.resolve('src/app/app.spec.ts'));
10
11
+ assert.match(stdout, /1 passed/, 'Expected 1 test to pass.');
12
+}
0 commit comments