From 6a540e11d5a162be08a796fba744d7fdb97883ac Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 28 Apr 2025 14:14:30 -0700 Subject: [PATCH] Update createRuleBlock.test.ts --- core/tools/implementations/createRuleBlock.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tools/implementations/createRuleBlock.test.ts b/core/tools/implementations/createRuleBlock.test.ts index 698c572b2..398139415 100644 --- a/core/tools/implementations/createRuleBlock.test.ts +++ b/core/tools/implementations/createRuleBlock.test.ts @@ -61,7 +61,7 @@ describe("createRuleBlockImpl", () => { // Verify the YAML structure with globs const yamlContent = mockIde.writeFile.mock.calls[0][1]; const parsedYaml = YAML.parse(yamlContent); -\ expect(parsedYaml.rules[0]).toEqual({ + expect(parsedYaml.rules[0]).toEqual({ name: "TypeScript Rule", rule: "Use interfaces for object shapes", globs: "**/*.{ts,tsx}", @@ -80,4 +80,4 @@ describe("createRuleBlockImpl", () => { const fileUri = mockIde.writeFile.mock.calls[0][0]; expect(fileUri).toContain("special-chracters-spaces.yaml"); }); -}); \ No newline at end of file +});