Skip to content

Commit

Permalink
Add Management e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Dec 20, 2024
1 parent fac51d7 commit 313f926
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eng/tools/eslint-plugin-tsv/test/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,14 @@ describe("lint-files", () => {
expect(results[0].filePath).toBe(filePath);
expect(results[0].messages).toHaveLength(0);
});

it("contosowidgetmanager/Contso.Management", async () => {
const eslint = createESLint();
const filePath = join(specsFolder, "contosowidgetmanager/Contoso.Management/tspconfig.yaml");
const results = await eslint.lintFiles(filePath);

expect(results).toHaveLength(1);
expect(results[0].filePath).toBe(filePath);
expect(results[0].messages).toHaveLength(0);
});
});

0 comments on commit 313f926

Please sign in to comment.