Add iterator function to mock environment variable collection

This commit is contained in:
Dave Bartolomeo
2023-04-13 17:39:50 -04:00
parent 78d3de6c86
commit 3eaa99696a

View File

@@ -272,6 +272,13 @@ describe("helpers", () => {
class MockEnvironmentVariableCollection
implements EnvironmentVariableCollection
{
[Symbol.iterator](): Iterator<
[variable: string, mutator: EnvironmentVariableMutator],
any,
undefined
> {
throw new Error("Method not implemented.");
}
persistent = false;
replace(_variable: string, _value: string): void {
throw new Error("Method not implemented.");