diff --git a/src/language/syntax/rules/map/map.test.ts b/src/language/syntax/rules/map/map.test.ts index 75e3909..f0990ef 100644 --- a/src/language/syntax/rules/map/map.test.ts +++ b/src/language/syntax/rules/map/map.test.ts @@ -128,7 +128,7 @@ function expectXToBeAMatchBase( ...features: ParserFeature[] ): asserts expected is T { const rules = Array.isArray(rule) ? rule : [rule]; - const featuresSave = PARSER_FEATURES; + const featuresSave = { ...PARSER_FEATURES }; const save = stream.save(); for (const feature of features) {