fusion-mocks
v1.0.1
Published
Jest mocks for Fusion specific functionality
Downloads
3
Readme
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.