You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be a useful addition if the DEBUG=* logged which tests it is entering/ leaving to help debug issues such as this one. Now if the test is set to only I am not getting any output unless there is a console.log in the script itself.
$ DEBUG=* ava --verbose --serial --fail-fast --watch ./test/AdsManager.js
ava ipc stats:
{ testCount: 1, hasExclusive: true, file: 'test/AdsManager.js' } +0ms
A 0
A 1
A 2
A 3
A 4
The text was updated successfully, but these errors were encountered:
@gajus We considered having a global default, but we realized there's no good default that works for everyone. Instead, we plan to show when we think a test is hanging: #583 (Help welcome btw)
Description
I am using test.cb callback to define an asynchronous test. My test is failing (the expected callback is not called).
Current behaviour
This leaves the entire test suite hanging indefinitely.
Expected behaviour
Expect the test to fail after some X time.
Test Source
This produces:
Error Message & Stack Trace
None. The test is just hanging.
Config
Copy the relevant section from
package.json
:Command-Line Arguments
Copy your npm build scripts or the
ava
command used:Environment
Tell us which operating system you are using, as well as which versions of Node.js, npm, and AVA. Run the following to get it quickly:
$ node -e "var os=require('os');console.log('Node.js ' + process.version + '\n' + os.platform() + ' ' + os.release())" $ ava --version $ npm --version Node.js v7.1.0 darwin 16.1.0 0.17.0 4.0.2
Side note
It would be a useful addition if the
DEBUG=*
logged which tests it is entering/ leaving to help debug issues such as this one. Now if the test is set toonly
I am not getting any output unless there is aconsole.log
in the script itself.The text was updated successfully, but these errors were encountered: