Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion yarn-project/simulator/scripts/fuzzing/avm_simulator_bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const INSTRUMENTER = createInstrumenter({ compact: true });

hookRequire(
(filePath: string): boolean => {
return true;
// Don't instrument node_modules because there's something funky with babel + browserlists dependencies
return !filePath.includes('node_modules');
},
(code: string, { filename }: { filename: string }): string => {
const newCode = INSTRUMENTER.instrumentSync(code, filename);
Expand Down
Loading