Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 313f926

Browse files
committedDec 20, 2024·
Add Management e2e test
1 parent fac51d7 commit 313f926

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎eng/tools/eslint-plugin-tsv/test/e2e.test.ts

+10
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,14 @@ describe("lint-files", () => {
4949
expect(results[0].filePath).toBe(filePath);
5050
expect(results[0].messages).toHaveLength(0);
5151
});
52+
53+
it("contosowidgetmanager/Contso.Management", async () => {
54+
const eslint = createESLint();
55+
const filePath = join(specsFolder, "contosowidgetmanager/Contoso.Management/tspconfig.yaml");
56+
const results = await eslint.lintFiles(filePath);
57+
58+
expect(results).toHaveLength(1);
59+
expect(results[0].filePath).toBe(filePath);
60+
expect(results[0].messages).toHaveLength(0);
61+
});
5262
});

0 commit comments

Comments
 (0)
Please sign in to comment.