I have a Yarn@4 monorepo (yarn workspaces). Amongst many packages I have one named business-logic. Any ava tests, even the simplest ones, fail with exit code 13.
If I rename this package to something else, tests pass!
Example test I try to run there:
import test from 'ava'
test('placeholder', (t) => {
t.pass()
})
All other tests in all other packages pass just fine. With exactly the same configs and versions of dependencies (ava@6.2.1, typescript@5.3.3, tsimp@2.0.11). The only way I found to make this test pass is to rename the package. Even renaming to business-logi works. Is there something in Ava that freaks out on paths with business-logic in?
I have a Yarn@4 monorepo (yarn workspaces). Amongst many packages I have one named
business-logic
. Any ava tests, even the simplest ones, fail with exit code 13.If I rename this package to something else, tests pass!
Example test I try to run there:
My ava config:
My typescript config:
All other tests in all other packages pass just fine. With exactly the same configs and versions of dependencies (
ava@6.2.1
,typescript@5.3.3
,tsimp@2.0.11
). The only way I found to make this test pass is to rename the package. Even renaming tobusiness-logi
works. Is there something in Ava that freaks out on paths withbusiness-logic
in?