README
OAT Jest Transformer for Svelte
Forked from rspieker/jest-transform-svelte.
It transforms Svelte files to javascript for jest. It comes with Svelte preprocessing, styles skipping, dynamic import and ESM support.
Installation
npm install --save-dev @oat-sa/jest-transform-svelte
Configuration
Simply add the component to the jest transform configuration
transform: {
'^.+\\.svelte