Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 7
Versions.
Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.22-1
node: 6.9.1
os: win32 x64
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
- create project using
ng new
- change
autoWatch to false and singleRun to true in karma.conf.js
- run
ng test
expected: tests are run once and the browser is closed
actual: tests do not run and the browser stays open (when autoWatch is true the tests are run, but browser stays open nonetheless)
The log given by the failure.
Normally this include a stack trace and some more information.
nothing happens (no error message or stack trace)
Mention any other details that might be useful.
Such config was last running fine on angular-cli@1.0.0-beta.19-3.
Running ng test --watch false --single-run true works as expected.
Thanks! We'll be in touch soon.
OS?
Windows 7
Versions.
angular-cli: 1.0.0-beta.22-1
node: 6.9.1
os: win32 x64
Repro steps.
ng newautoWatchtofalseandsingleRuntotrueinkarma.conf.jsng testexpected: tests are run once and the browser is closed
actual: tests do not run and the browser stays open (when
autoWatchistruethe tests are run, but browser stays open nonetheless)The log given by the failure.
nothing happens (no error message or stack trace)
Mention any other details that might be useful.
Such config was last running fine on angular-cli@1.0.0-beta.19-3.
Running
ng test --watch false --single-run trueworks as expected.