0.0.1 • Published 5 years ago
jest-svelte v0.0.1
jest-svelte
A tool for enabling Jest unit tests in SvelteJS.
Installation
Install the package
yarn add jest-svelte --dev
Update your jest configuration
"jest": {
"transform": {
"\\.js$": "babel-jest",
"\\.html$": "./dist/index.js",
"\\.svelte$": "./dist/index.js"
},
"moduleFileExtensions": [
"js",
"svelte",
"html"
]
}
0.0.1
5 years ago