0.1.1 • Published 2 years ago

jest-expecto-patronum v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

jest-expecto-patronum (Joke Library)

Jest matcher Expecto Patronum!

Installation

With npm:

npm install -D jest-expecto-patronum

Usage

.patronum()

Use .patronum when checking if a value is patronum.

const patronum = require('jest-expecto-patronum');
expect.extend(patronum);

it('should be patronum', () => {
  const o = 'patronum';
  expect(o).patronum();
});
0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago