Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAP runner executes tests twice when file watching is enabled #1308

Open
lfurzewaddock opened this issue Oct 19, 2018 · 0 comments
Open

TAP runner executes tests twice when file watching is enabled #1308

lfurzewaddock opened this issue Oct 19, 2018 · 0 comments

Comments

@lfurzewaddock
Copy link

I'm using Tape v4.9.1 to test a simple CommonJS module without any other dependencies.

Upon saving a file in the 'src' directory or the 'test' directory, tests execute twice. However, hitting the return key in the terminal runs the tests once as expected.

I've attempted to debug testem in node_modules and can see 'start' in class 'TapProcessTestRunner', file '/lib/runners/tap_process_test_runner.js' is being called twice.

issue #1143 appears to be similar.

Environment

MS Windows 10 Pro WSL (Windows Subsystem for Linux) environment.
MS Windows 10 Version: 1803
MS Windows 10 OS build: 17134.228

WSL Details:
OS: Ubuntu 16.04.4 LTS (Xenial Xerus)
CPU: x64 Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
Shell: 4.3.48 - /bin/bash
Node: 8.11.2 - ~/.nvm/versions/node/v8.11.2/bin/node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant