Skip to content

joyfulljs/jest-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published