Simply precompiles Svelte components before importing them into Jest tests.
This version requires Jest >= 27 and defaults to ESM, which is required with Svelte 4+. If you're using Svelte 3 and want to use CJS, you need to specify the full path for the jest transformer in your jest config.
[![version][version-badge]][package] [![MIT License][license-badge]][license]