Skip to content

Commit

Permalink
Make fuzz testing opt-in.
Browse files Browse the repository at this point in the history
Reviewed by @tolmasky.
  • Loading branch information
tolmasky committed Jan 27, 2022
1 parent 9b87eea commit e2ffbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/test/helpers/to-fuzzed-options.js
Expand Up @@ -46,7 +46,7 @@ const toAdjustedSyntaxError = (adjust, error) =>
: error;

export default function toFuzzedOptions(options) {
if (TEST_FUZZ === "false") return [[false, options]];
if (TEST_FUZZ !== "true") return [[false, options]];

const { startLine = 1, startColumn = 0 } = options;

Expand Down

0 comments on commit e2ffbd7

Please sign in to comment.