Error setting up vitest

Getting this error - I've gone through steps 1 through 4 in the docs - https://docs.gadget.dev/guides/development-tools/unit-testing#unit-test-runner-setup
➜ clhom git:(netsuiteCustomer) ✗ yarn test
yarn run v1.22.22
warning ../../package.json: No license field
$ vitest
failed to load config from /Users/kalen/repos/clhom/vite.config.mjs
➜ clhom git:(netsuiteCustomer) ✗ yarn test
yarn run v1.22.22
warning ../../package.json: No license field
$ vitest
failed to load config from /Users/kalen/repos/clhom/vite.config.mjs
https://clhom.gadget.app/edit/staging/files/vite.config.mjs
No description
1 Reply
kalenjordan
kalenjordanOP6mo ago
Not sure what the warning ../../package.json: No license field warning is about but I removed that file just in case - getting the same error.

Did you find this page helpful?