DEV Community

Discussion on: Setting up a Svelte test environment

Collapse
 
ehrencrona profile image
Andreas Ehrencrona • Edited

In the repo, input: "spec/**/*.spec.js", has been replaced with just the name of the single test. If I put the regex back I get the error message Cannot use import statement outside a module when running the tests. There's no stack trace, so I'm not sure where this happens. Does anyone know a solution to this?