Test fixup

This commit is contained in:
tk338g 2021-02-19 21:17:58 +03:00
parent 6a8680f500
commit 232412d7bc
2 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,9 @@
"transformIgnorePatterns": [
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)"
],
"moduleNameMapper": {
"^worker-loader!.+": "<rootDir>/src/__mocks__/worker-mock.js"
},
"resetMocks": false
},
"name": "excalidraw",

View File

@ -0,0 +1,4 @@
module.exports = class {
postMessage() {}
terminate() {}
};