When testing with Marko, It throws the error
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object at Object.writeFileSync (fs.js:1460:5) at createSnapshot (node_modules/@marko/test/dist/util/server-tests-runner/ServerContext.js:86:6) at ServerContext.render (node_modules/@marko/test/dist/util/server-tests-runner/ServerContext.js:57:5) at Context. (src/ui-modules/me-expander/test/test.server.js:8:28) at Context. (node_modules/@marko/test/dist/util/server-tests-runner/mocha-tests-server.js:70:26) at processImmediate (internal/timers.js:461:21) at process.topLevelDomainCallback (domain.js:144:15) at process.callbackTrampoline (internal/async_hooks.js:129:14)
Aucun commentaire:
Enregistrer un commentaire