Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: step arg is a function #4092

Merged
merged 2 commits into from Dec 30, 2023
Merged

fix: step arg is a function #4092

merged 2 commits into from Dec 30, 2023

Conversation

kobenguyent
Copy link
Collaborator

@kobenguyent kobenguyent commented Dec 29, 2023

Motivation/Description of the PR

  • fix an issue where step arg is a function that breaks the code when running with run-workers
Error processing step.start event:
DataCloneError: function (requestParameters, options) {
            return localVarFp.lookupAddresses(requestParameters.lookupA...<omitted>... } could not be cloned.
    at new DOMException (node:internal/per_context/domexception:53:5)
    at sendToParentThread (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/command/workers/runTests.js:266:14)
    at EventEmitter.<anonymous> (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/command/workers/runTests.js:221:51)
    at EventEmitter.emit (node:events:525:35)
    at EventEmitter.emit (node:domain:489:12)
    at Object.emit (/Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/event.js:149:28)
    at /Users/pb/Downloads/dfe-test-automation/node_modules/codeceptjs/lib/actor.js:132:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Type of change

  • 馃悰 Bug fix

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit 10df8b2 into 3.x Dec 30, 2023
12 checks passed
@kobenguyent kobenguyent deleted the fix-step-args branch December 30, 2023 09:26
@kobenguyent kobenguyent mentioned this pull request Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants