Comments (9)
I can't reproduce this.
--no-auto-watch
behaves the same as --auto-watch=false
, it does not watch and therefore does not print "Watching..." logs
Agree, we might change "Watching..." logs to be debug rather than info.
from karma.
I can reproduce the issue easily with angular's test suite
from karma.
My output is totally the same:
$ testacular start angularFiles.js --no-auto-watch
info: Web server started at http://localhost:9876/
$ testacular start angularFiles.js --auto-watch=false
info: Web server started at http://localhost:9876/
from karma.
I have some config changes on my local branch but maybe it's single-run
that must be used in addition with auto-watch?
this is how I run the tests when I see the difference:
testacular start testacular-jquery.conf.js --single-run --auto-watch=false
vs
testacular start testacular-jquery.conf.js --single-run --no-auto-watch
from karma.
yes, if I leave --single-run
out, the two auto-watch flags behave the same.
from karma.
That's weird, I still can't reproduce it. Once you are in office, you show me...
from karma.
I think that the actual problem is that --single-run and --auto-watch=false
puts testacular into auto watch mode (fs is being watched and testacular doesn't quit after the first run). that's also why the output is being printed.
from karma.
Ok, I finally managed to reproduce this. It's a bug in optimist https://github.com/substack/node-optimist/issues/71
Here's a pull request with a fix https://github.com/substack/node-optimist/pull/72
from karma.
This was merged and is in release v0.3.5 included. Will update the dependencies accordingly.
from karma.
Related Issues (20)
- Tests pass only in debug mode (with `--browsers=Chrome` flag)
- Cannot serve assets that don't fit its narrow view of acceptable types HOT 1
- Karma hangs when no browsers are passed
- Karma do not execute unit test if Automerge package (WebAssembly) is used HOT 3
- Compatibility with pnpm
- _karma_webpack_/scripts.js giving Uncaught Reference Error HOT 1
- Unable to require webpack config in karma.config.js
- failed to proxy simple files
- How to use with Typescript 5
- Is this project dead? HOT 5
- New Chrome version 113 driver fails to start HOT 1
- karma config not loading with angular 13
- the process of running cases is blocked since No binary for Chrome browser on your platform, but I have configured two browsers, one is available and one is missing.
- Latest packages are not working properly(lots of test cases shows error)
- Latest version of socket.io causes tests to fail on macOS HOT 1
- Getting timeout issue when executing code coverage from ADO pipeline multiple times
- ng test not working with Node version 18.18.2 . Error " Cannot read properties of undefined (reading 'range') " HOT 4
- Karma dependency ua-parser-js 2.0 license change to AGPL
- Update socket.io-parser dependency to fix security vulnerability in Karma
- throw Error(yargs parser supports a minimum Node.js version of ${minNodeVersion} Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`); HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma.