Skip to content

Commit 5b5b411

Browse files
committed
Fix some isolated test scenarios
1 parent bf567e5 commit 5b5b411

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/from-scratch-three-files-A-B,C.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe("Partial compilation", () => {
141141
assert.ok(firstSnapshot.typeFiles["Bar.sol"] !== undefined);
142142

143143
// Recompile
144-
await project.compile();
144+
await project.compile({ isolated: true });
145145
const secondSnapshot = await project.getSnapshot();
146146

147147
// Nothing in the snapshot should have changed

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/from-scratch-three-files-A-B--C.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe("Partial compilation", () => {
145145
assert.ok(firstSnapshot.typeFiles["FooFactory.sol"] !== undefined);
146146

147147
// Recompile
148-
await project.compile();
148+
await project.compile({ isolated: true });
149149
const secondSnapshot = await project.getSnapshot();
150150

151151
// Nothing in the snapshot should have changed

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/from-scratch-three-files-A-B-C.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe("Partial compilation", () => {
141141
assert.ok(firstSnapshot.typeFiles["IFoo.sol"] !== undefined);
142142

143143
// Recompile
144-
await project.compile();
144+
await project.compile({ isolated: true });
145145
const secondSnapshot = await project.getSnapshot();
146146

147147
// Nothing in the snapshot should have changed

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/from-scratch-two-connected-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ describe("Partial compilation", () => {
120120
assert.ok(firstSnapshot.typeFiles["IFoo.sol"] !== undefined);
121121

122122
// Recompile
123-
await project.compile();
123+
await project.compile({ isolated: true });
124124
const secondSnapshot = await project.getSnapshot();
125125

126126
// Nothing in the snapshot should have changed

v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/partial-compilation/from-scratch-two-indept-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe("Partial compilation", () => {
119119
assert.ok(firstSnapshot.typeFiles["B.sol"] !== undefined);
120120

121121
// Recompile
122-
await project.compile();
122+
await project.compile({ isolated: true });
123123

124124
const secondSnapshot = await project.getSnapshot();
125125

0 commit comments

Comments
 (0)