Skip to content

Commit 847fb66

Browse files
Copilotmikeharder
andcommitted
Fix formatting of xms-client-name.test.ts (add trailing commas per prettier)
Agent-Logs-Url: https://github.com/Azure/azure-openapi-validator/sessions/d4e80c49-8c48-45c1-9757-a8baa9053cf5 Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
1 parent 29d51a4 commit 847fb66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/rulesets/src/spectral/test/xms-client-name.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test("XmsClientName: invalid combinations (x-ms-client-name matches name)", () =
6060
type: "string",
6161
"x-ms-client-name": "length",
6262
},
63-
}
63+
},
6464
)
6565
return linter.run(myOpenApiDocument).then((results) => {
6666
// 1 invalid parameter + 1 invalid property = 2 total errors
@@ -98,7 +98,7 @@ test("XmsClientName: valid combinations (x-ms-client-name differs from name)", (
9898
type: "string",
9999
"x-ms-client-name": "Length",
100100
},
101-
}
101+
},
102102
)
103103
return linter.run(myOpenApiDocument).then((results) => {
104104
expect(results.length).toBe(0)
@@ -120,7 +120,7 @@ test("XmsClientName: properties ignored by given clause", () => {
120120
noClientName: {
121121
type: "string",
122122
},
123-
}
123+
},
124124
)
125125
return linter.run(myOpenApiDocument).then((results) => {
126126
// Properties/parameters without x-ms-client-name should be filtered out by the given clause

0 commit comments

Comments
 (0)