Skip to content

Commit 05fb0c3

Browse files
fix: update schema files
1 parent 6ad6649 commit 05fb0c3

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

schemas/apex-run-test.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@
140140
},
141141
"FullName": {
142142
"type": "string"
143-
},
144-
"Category": {
145-
"$ref": "#/definitions/TestCategory"
146143
}
147144
},
148145
"required": [
@@ -298,10 +295,6 @@
298295
"type": "string",
299296
"enum": ["Pass", "Fail", "CompileFail", "Skip"]
300297
},
301-
"TestCategory": {
302-
"type": "string",
303-
"enum": ["Apex", "Flow"]
304-
},
305298
"TestRunIdResult": {
306299
"type": "object",
307300
"properties": {

schemas/logic-get-test.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@
130130
},
131131
"FullName": {
132132
"type": "string"
133-
},
134-
"Category": {
135-
"$ref": "#/definitions/TestCategory"
136133
}
137134
},
138135
"required": [
@@ -287,10 +284,6 @@
287284
"ApexTestResultOutcome": {
288285
"type": "string",
289286
"enum": ["Pass", "Fail", "CompileFail", "Skip"]
290-
},
291-
"TestCategory": {
292-
"type": "string",
293-
"enum": ["Apex", "Flow"]
294287
}
295288
}
296289
}

src/reporters/jsonReporter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77
import { ApexTestResultOutcome, TestResult } from '@salesforce/apex-node';
8-
import { ApexTestRunResultStatus, TestCategory } from '@salesforce/apex-node/lib/src/tests/types.js';
8+
import { ApexTestRunResultStatus } from '@salesforce/apex-node/lib/src/tests/types.js';
99

1010
export type RunResult = {
1111
summary: Summary;
@@ -47,7 +47,6 @@ type CliTestResult = {
4747
ApexClass: { Id: string; Name: string; NamespacePrefix: string };
4848
RunTime: number;
4949
FullName: string;
50-
Category?: TestCategory;
5150
};
5251

5352
type ClassCoverage = {

0 commit comments

Comments
 (0)