@joyfulljs/jest-utils
v1.0.1
Published
some utils for jest test
Downloads
4
Readme
jest-utils
some utils for jest test
install
npm install @joyfulljs/jest-utils --save-dev
usage
const jestUtils = require('@joyfulljs/jest-utils');
api
.mockEventBinding(): void
mock addEventListener/removeEventListener using jQuery so you can use jQuery to trigger event.
license
MIT