From 2e628302fdf485c75345421aa78daec0eaf0e3ca Mon Sep 17 00:00:00 2001 From: Rostislav Simonik Date: Fri, 19 May 2023 07:41:32 +0200 Subject: [PATCH] test: assign to config.overrides.parser in compatibility config test --- src/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.test.ts b/src/index.test.ts index 91e2b22c..72b31448 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -521,13 +521,13 @@ test('our configuration is compatible with the plugin and parser at bottom of pe const config = structuredClone(exported) - config.parser = typescriptEslintBottomParser config.plugins = [typescriptEslintBottomPlugin] if (config.overrides === undefined) throw new Error() const overrides = config.overrides[0] if (overrides === undefined) throw new Error() + overrides.parser = typescriptEslintBottomParser if (overrides.rules === undefined) throw new Error() overrides.rules = Object.fromEntries(