Gustav Dahl
Gustav Dahl
DDeno
Created by Gustav Dahl on 10/25/2024 in #help
Test multiple workspace projects
I got two projects inside my deno workspace: project1 and project1-tests. From project1-tests I run integrations tests against project1. I do this by running the following from the project1-test folder: deno test --allow-all --watch . --watch ../project1/src/ This will trigger the test runner to run when files are changes inside project1 and project1-tests. The problem I got is that the tests only run if files project1-tests changes. If I do an update in project1 the test runner reports this: Watcher File change detected! Restarting! ok | 0 passed | 0 failed (0ms) Watcher Test finished. Restarting on file change... What should I do to make the tests run regardless of what files are changed?
1 replies