jest-css-modules-proxy

Mocking css modules in jest.


Keywords
jest, mock, mocking, css, style, cssmodule, cssmodules, css module, css modules
License
ISC
Install
npm install jest-css-modules-proxy@1.0.0

Documentation

jest-css-modules-proxy

What is the project for?

Mocking css modules in jest. The project is inspired by identity-obj-proxy.

How to use?

npm install --save-dev jest-css-modules-proxy

When package is installed, then you can see the document Mocking CSS Modules.

What is different from identity-obj-proxy?

The project supports import * as styles from './styles.module.css'