Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 803 Bytes

File metadata and controls

36 lines (25 loc) · 803 Bytes

jasmine-enzyme

npm version License CircleCI

Installation

We suggest using yarn for installations.

yarn add jasmine-enzyme --dev

But npm works too!

$ npm install jasmine-enzyme --save-dev

Setup

For Jasmine, you'll need to call jasmineEnzyme() in any before method due to the way jasmine's plugin system works.

import jasmineEnzyme from 'jasmine-enzyme';

describe('test', () => {
  beforeEach(() => {
    jasmineEnzyme();
  });

  // tests
});