Unable to run `npm run test` locally
See original GitHub issueI tried testing the feature I’m implementing in #163 , but when running npm run test I get the following error: No test files found, exiting with code 1
screenshot:

text:
PS D:\code\svelte-multiselect> npm run test
> svelte-multiselect@8.0.4 test
> vitest --run --coverage tests/unit/*.ts && playwright test tests/*.test.ts
RUN v0.25.1 D:/code/svelte-multiselect
Coverage enabled with c8
filter: tests/unit/*.ts
include: **/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}
exclude: **/node_modules/**, **/dist/**, **/cypress/**, **/.{idea,git,cache,output,temp}/**,
**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress}.config.*
watch exclude: **/node_modules/**, **/dist/**
No test files found, exiting with code 1
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Unable to run npm run test without strange error on Windows 10
I get the following error when running npm run test with the most recent version of the master branch on Windows 10.
Read more >can't run "npm start" - Stack Overflow
I believe start needs to be in the "scripts" section of package.json; right now you only have test as a script. I would...
Read more >Unable to run npm test as a task. - Atlassian Community
I'm currently trying to run 'npm test' as a task. The command is simply 'test'. When I try to run my build plan...
Read more >start-server-and-test - npm
Starts server, waits for URL, then runs test command; when the tests end, shuts down server. Latest version: 1.15.2, last published: 19 days ......
Read more >jest: command not found error [Solved] | bobbyhadz
Use `npx` to solve the error jest: command not found, e.g. `npx jest` or install the package globally by running `npm install -g...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing this as resolved assuming it was a shell expansion issue. Feel free to reopen if not.
Hmm, maybe… I’ll try that next 😃