Closed hirasso closed 1 year ago
Ah I see. First need to run npm run bundle
. Maybe that should be done automatically when exectuting test
?
{
"test": "npm run bundle && ava test/basic.test.cjs",
}
We could switch to that yeah. Could set it up using package.json pre script syntax too:
{
"pretest": "npm run bundle",
"test": "ava test/basic.test.cjs",
}
reason i dont have it now is i find it can be surprising and maybe resource wasteful to run the bundle every time before running tests. 🤷🏻
we'd also need to update actions and CI to be aware of the automated bundling before testing.
do you want to switch this issue to a workflow/feature request?
I ended up not using Open Props in my project. So I'd like to hand this over to the maintainers of this project.
If I try to run the tests, I get the following error: