Update createRuleBlock.test.ts

This commit is contained in:
Patrick Erichsen 2025-04-28 14:14:30 -07:00
parent 8f393ff922
commit 6a540e11d5

View file

@ -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");
});
});
});