Am using the ember-a11y-testing(v4.0.8) add-on, which is enforcing the peer dependency of @ember/test-helpers >= 2.0.0. After installing the @ember/test-helpers(v2.2.6), my build is getting error.
Ember - v3.16.2, Node - v12.18.0
⠸ building... [Babel: @ember/test-helpers > applyPatches]internal/worker.js:279
this[kPublicPort].postMessage(...args);
^
DOMException [DataCloneError]: function(opts, cb) {
var options = getOptions(opts, cb);
// options.error and options.success are for libs...<omitted>...
} could not be cloned.
at Worker.postMessage (internal/worker.js:279:23)
at Worker.worker.send (/Users/vb/Dev/frontend/node_modules/broccoli-babel-transpiler/node_modules/workerpool/src/WorkerHandler.js:108:10)
at Array.forEach (<anonymous>)
at dispatchQueuedRequests (/Users/vb/Dev/frontend/node_modules/broccoli-babel-transpiler/node_modules/workerpool/src/WorkerHandler.js:253:21)
at Worker.<anonymous> (/Users/vb/Dev/frontend/node_modules/broccoli-babel-transpiler/node_modules/workerpool/src/WorkerHandler.js:208:7)
at Worker.emit (events.js:315:20)
at Worker.EventEmitter.emit (domain.js:482:12)
at MessagePort.<anonymous> (internal/worker.js:192:55)
at MessagePort.emit (events.js:315:20)
at MessagePort.EventEmitter.emit (domain.js:482:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1