Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

technote-space/gutenberg-test-helper

Repository files navigation

Gutenberg Test Utils

npm version CI Status codecov CodeFactor License: MIT

This is a gutenberg's test utils.

Table of Contents

Details

How to use

  1. Install

    npm install --save-dev @technote-space/gutenberg-test-helper
  2. Setup

    jest.config.js

    module.exports = {
        // ...
    
        setupFiles: ['<rootDir>/jest.setup.ts']
    };

    jest.setup.ts

    import { setupGlobal } from '@technote-space/gutenberg-test-helper';
    
    setupGlobal();

Author

GitHub (Technote)
Blog