Testing svelte with Testing Library and Jest This is a minimal reproducible svelte app to show how mocking with jest is not working. Clone and run the tests git clone https://github.com/spirift/svelte-jest-mocking-example.git cd svelte-jest-mocking-example yarn install yarn test