debian-mirror-gitlab/spec/frontend/__mocks__/mousetrap/index.js

7 lines
207 B
JavaScript
Raw Normal View History

2020-04-08 14:13:33 +05:30
/* 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;