Skip to content

Commit

Permalink
Skip tests reliant on testnet fork
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Aug 23, 2023
1 parent 54d9d85 commit 2dd37fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/general-tests/account-test/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { hardhatStarknetCompileDeprecated, hardhatStarknetTest } from "../../uti

hardhatStarknetCompileDeprecated("contracts/contract.cairo contracts/util.cairo".split(" "));
hardhatStarknetTest("--no-compile test/oz-account-test.ts".split(" "));
hardhatStarknetTest("--no-compile test/argent-account-test.ts".split(" "));
// _TODO: skipped because required setup is not supported, see ./hardhat.config.ts
// hardhatStarknetTest("--no-compile test/argent-account-test.ts".split(" "));
5 changes: 4 additions & 1 deletion test/general-tests/account-test/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ module.exports = {
url: "http://127.0.0.1:5050",
// testing with fork because alpha-goerli has the needed argent account contracts declared
// using integrated-devnet (in network.json) because spawning devnet is currently out of reach for individual tests
args: ["--seed", "42", "--fork-network", "alpha-goerli"]
// args: ["--seed", "42", "--fork-network", "alpha-goerli"]

// _TODO: forking is currently not supported because testnet is at cairo-lang v0.12.2
args: ["--seed", "42"]
}
}
};

0 comments on commit 2dd37fd

Please sign in to comment.