fix: use Node test reporter (#10464)
This commit is contained in:
parent
10fa352102
commit
f778b1e2a7
@ -155,7 +155,7 @@ export function getScriptFromOptions(options: SchematicsOptions): string[][] {
|
||||
case TestingFramework.Node:
|
||||
return [
|
||||
[`tsc`, '-p', 'e2e/tsconfig.json'],
|
||||
['node', '--test', 'e2e/build/'],
|
||||
['node', '--test', '--test-reporter', 'spec', 'e2e/build/'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ describe('@puppeteer/ng-schematics: ng-add', () => {
|
||||
expect(tree.files).toContain(getProjectFile('e2e/tests/app.test.ts'));
|
||||
expect(options['commands']).toEqual([
|
||||
[`tsc`, '-p', 'e2e/tsconfig.json'],
|
||||
['node', '--test', 'e2e/build/'],
|
||||
['node', '--test', '--test-reporter', 'spec', 'e2e/build/'],
|
||||
]);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user