Skip to content

Commit

Permalink
chore: Patch jest to not use JSON serialization in message passing ci3
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Dec 24, 2024
1 parent c8dcd8f commit baa58a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions yarn-project/.yarn/patches/jest-runner-npm-29.7.0-3bc9f82b58.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/build/index.js b/build/index.js
index 65c0ed180a1f44a5095f80d572aacb68be1db3da..3bb4938110a50a2eca1b2f01466b7be16c9c8145 100644
--- a/build/index.js
+++ b/build/index.js
@@ -124,7 +124,7 @@ class TestRunner extends _types.EmittingTestRunner {
enableWorkerThreads: this._globalConfig.workerThreads,
exposedMethods: ['worker'],
forkOptions: {
- serialization: 'json',
+ serialization: 'advanced',
stdio: 'pipe'
},
// The workerIdleMemoryLimit should've been converted to a number during
3 changes: 2 additions & 1 deletion yarn-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"@noir-lang/types": "portal:../noir/packages/types",
"@noir-lang/noirc_abi": "portal:../noir/packages/noirc_abi",
"@noir-lang/noir_codegen": "portal:../noir/packages/noir_codegen",
"@noir-lang/noir_js": "file:../noir/packages/noir_js"
"@noir-lang/noir_js": "file:../noir/packages/noir_js",
"jest-runner@npm:^29.7.0": "patch:jest-runner@npm%3A29.7.0#~/.yarn/patches/jest-runner-npm-29.7.0-3bc9f82b58.patch"
}
}

0 comments on commit baa58a5

Please sign in to comment.