debian-mirror-gitlab/spec/frontend/__mocks__/mousetrap/index.js
2020-04-08 18:37:08 +05:30

6 lines
207 B
JavaScript

/* global Mousetrap */
// `mousetrap` uses amd which webpack understands but Jest does not
// Thankfully it also writes to a global export so we can es6-ify it
import 'mousetrap';
export default Mousetrap;