mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-31 18:50:14 +02:00
refactor tests and babel config. Fixes target browsers.
This is basically the change propagated from the current default preact tempalate. Now the code compiles according to set browsers.
This commit is contained in:
3
tests/__mocks__/fileMocks.js
Normal file
3
tests/__mocks__/fileMocks.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// This fixed an error related to the CSS and loading gif breaking my Jest test
|
||||
// See https://facebook.github.io/jest/docs/en/webpack.html#handling-static-assets
|
||||
module.exports = 'test-file-stub';
|
Reference in New Issue
Block a user