0.1.17 • Published 3 years ago

@technote-space/gutenberg-test-helper v0.1.17

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

Gutenberg Test Utils

npm version CI Status codecov CodeFactor License: MIT

This is a gutenberg's test utils.

Table of Contents

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