Skip to content

Commit 38f03f4

Browse files
Fix test by updating stub
1 parent 0a92c72 commit 38f03f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/stubs/StubRunResults.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import {EngineRunResults, RunResults, Violation} from '@salesforce/code-analyzer
33

44

55
export class StubEmptyResults implements RunResults {
6+
getCoreVersion(): string {
7+
throw new Error('Method not implemented.');
8+
}
9+
610
/**
711
* Based on the way the tests currently use this stub, this method is never called,
812
* so it should be fine for it to be unimplemented.
@@ -57,6 +61,10 @@ export class StubEmptyResults implements RunResults {
5761
}
5862

5963
export class StubNonEmptyResults implements RunResults {
64+
getCoreVersion(): string {
65+
throw new Error('Method not implemented.');
66+
}
67+
6068
getRunDirectory(): string {
6169
throw new Error('Method not implemented.');
6270
}

0 commit comments

Comments
 (0)