Skip to content

Commit 3eaa996

Browse files
author
Dave Bartolomeo
committed
Add iterator function to mock environment variable collection
1 parent 78d3de6 commit 3eaa996

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

extensions/ql-vscode/test/vscode-tests/no-workspace/helpers.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,13 @@ describe("helpers", () => {
272272
class MockEnvironmentVariableCollection
273273
implements EnvironmentVariableCollection
274274
{
275+
[Symbol.iterator](): Iterator<
276+
[variable: string, mutator: EnvironmentVariableMutator],
277+
any,
278+
undefined
279+
> {
280+
throw new Error("Method not implemented.");
281+
}
275282
persistent = false;
276283
replace(_variable: string, _value: string): void {
277284
throw new Error("Method not implemented.");

0 commit comments

Comments
 (0)