svelte-wallaby-reproduction
This is essentially the default svelte-kit example app,
but using Jest instead of Playwright for testing,
so as to (ideally) facilitate testing with WallabyJS.
Steps to reproduce:
Verify that Jest works on its own:
- Open a terminal in the project folder
- Run
nvm use
to use node version 14
- Run
yarn install
- Run
yarn test
- Observe 2/2 tests are passing
Observe different behaviour in VSCode with WallabyJS
- Open project folder in VS Code
- Select WallabyJS configuration file (use wallaby.js from project root)
- Open tests/index.test.ts
- Start WallabyJS
- Observe errors