fixed worker-loader in jest tests

This commit is contained in:
Sebastian Sdorra
2020-01-23 17:15:39 +01:00
parent 09bde1e3bb
commit b04c55827c
3 changed files with 4267 additions and 349 deletions

View File

@@ -0,0 +1,7 @@
function WorkerMock() {}
WorkerMock.prototype.addEventListener = function() {};
WorkerMock.prototype.removeEventListener = function() {};
WorkerMock.prototype.postMessage = function() {};
module.exports = WorkerMock;