Skip to content

Commit

Permalink
fix: stop adding CWD to the n-test config path
Browse files Browse the repository at this point in the history
This line, which appeared in c070cc2, breaks test running. This is
because n-test already prepends `process.cwd()` so it doubles up. This
results in something like:

```
/Users/me/code/project/Users/me/code/project/test/smoke.js
```

Kara suggested replacing it with an error if you're not running n-test
from the current working directory. I copied it loosely from 81ebda7
where we're doing the same for the nodemon plugin.
  • Loading branch information
rowanmanning committed Jan 9, 2025
1 parent bccf0ef commit 02c44e2
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 119 deletions.
Loading

0 comments on commit 02c44e2

Please sign in to comment.