1.0.1 • Published 4 years ago

fusion-mocks v1.0.1

Weekly downloads
45
License
ISC
Repository
github
Last release
4 years ago

Fusion Mocks

These are manual mocks that can be used when writing unit tests with Jest in Fusion.

Usage

Copy the contents of the __mocks__ folder to the root directory of your PageBuilder-Fusion-Features folder. Manual mocks are case sensisitive, for more information on how manual mocks work please see the Jest Manual Mocks reference page.

For a detailed example of how these mocks look and are placed into a PageBuilder-Fusion-Features repository please take a look at the PageBuilder Fusion Features Starter Pack.