3.0.0 • Published 11 months ago
esmocha v3.0.0
esmocha
Mocha wrapper with built-in typescript, built-in expect with mock and snapshot support.
Usage
npm install esmocha --save-devesmocha executable is a wrapper for mocha executable, every option should work.
npx esmochaEvery method is re-exported.
// expect lib
import { expect } from 'esmocha';
// mocking lib
import { mock, resetAllMocks } from 'esmocha';
// mocha lib
import { afterAll, beforeAll } from 'esmocha';Updating expect snapshots:
npx esmocha --update-snapshotLicense
MIT