Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanhauhau/jest-svelte-resolver


https://github.com/tanhauhau/jest-svelte-resolver

Last synced: 21 days ago
JSON representation

Awesome Lists containing this project

README

        

# Jest Svelte Resolver Plugin

[Jest custom resolver](https://jestjs.io/docs/en/configuration#resolver-string) to resolve [Svelte](http://svelte.dev/) components.

## Install
> Jest resolver option supported for jest >=20 versions.

Install with yarn

```
yarn add jest-svelte-resolver -D
```

or install with npm

```
npm install jest-svelte-resolver -D
```

add to your jest configuration

```
{
"resolver": "jest-svelte-resolver"
}
```