Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit ace6eee

Browse files
committed
add new stub that is necessary after rearrangement
1 parent 64d3272 commit ace6eee

File tree

1 file changed

+2
-0
lines changed
  • packages/compile-solidity-tests/test/compilerSupplier/loadingStrategies

1 file changed

+2
-0
lines changed

packages/compile-solidity-tests/test/compilerSupplier/loadingStrategies/VersionRange.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ describe("VersionRange loading strategy", () => {
7777
sinon.stub(instance, "getCachedSolcByVersionRange");
7878
sinon.stub(instance, "getSolcFromCacheOrUrl");
7979
sinon.stub(instance, "versionIsCached").returns("compilerFilename.js");
80+
sinon.stub(instance, "compilerFromString");
8081
});
8182
afterEach(() => {
8283
unStub(instance, "getCachedSolcByVersionRange");
8384
unStub(instance, "getSolcFromCacheOrUrl");
8485
unStub(instance, "versionIsCached");
86+
unStub(instance, "compilerFromString");
8587
});
8688

8789
it("calls getCachedSolcByVersionRange when single solc is specified", async () => {

0 commit comments

Comments
 (0)