Skip to content

Commit 6d6b1a9

Browse files
author
Jamie Rothfeder
committed
Simplify conversion of testcases to yaml.
1 parent a1de3cd commit 6d6b1a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/appdistribution/yaml_helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function toYamlTestCases(testCases: TestCase[]): YamlTestCase[] {
3232
return testCases.map((testCase) => ({
3333
displayName: testCase.displayName,
3434
...(testCase.name && {
35-
id: extractIdFromResourceName(testCase.name!), // resource name is retured by server
35+
id: extractIdFromResourceName(testCase.name),
3636
}),
3737
...(testCase.prerequisiteTestCase && {
3838
prerequisiteTestCaseId: extractIdFromResourceName(testCase.prerequisiteTestCase),

0 commit comments

Comments
 (0)