Gutenberg Test Utils
This is a gutenberg's test utils.
Table of Contents
Details
How to use
-
Install
npm install --save-dev @technote-space/gutenberg-test-utils
-
Setup
jest.config.js
module.exports = { // ... setupFiles: ['<rootDir>/jest.setup.ts'] };
jest.setup.ts
import { setupGlobal } from '@technote-space/gutenberg-test-utils'; setupGlobal();