Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Bot: ethereum specs to allow more testTimeout #1733

Merged
merged 1 commit into from
Feb 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/families/ethereum/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { DeviceModelId } from "@ledgerhq/devices";
import { TokenCurrency } from "@ledgerhq/cryptoassets";
import { CompoundAccountSummary } from "../../compound/types";

const testTimeout = 5 * 60 * 1000;

const ethereumBasicMutations = ({ maxAccount }) => [
{
name: "move 50%",
Expand Down Expand Up @@ -119,7 +121,7 @@ const ethereum: AppSpec<Transaction> = {
model: DeviceModelId.nanoS,
appName: "Ethereum",
},
testTimeout: 4 * 60 * 1000,
testTimeout,
transactionCheck: ({ maxSpendable }) => {
invariant(
maxSpendable.gt(
Expand Down Expand Up @@ -357,7 +359,7 @@ const ethereumClassic: AppSpec<Transaction> = {
appName: "Ethereum Classic",
},
dependency: "Ethereum",
testTimeout: 2 * 60 * 1000,
testTimeout,
transactionCheck: ({ maxSpendable }) => {
invariant(
maxSpendable.gt(
Expand All @@ -380,7 +382,7 @@ const ethereumRopsten: AppSpec<Transaction> = {
model: DeviceModelId.nanoS,
appName: "Ethereum",
},
testTimeout: 2 * 60 * 1000,
testTimeout,
transactionCheck: ({ maxSpendable }) => {
invariant(
maxSpendable.gt(
Expand All @@ -405,7 +407,7 @@ const bsc: AppSpec<Transaction> = {
appName: "Binance Smart Chain",
},
dependency: "Ethereum",
testTimeout: 2 * 60 * 1000,
testTimeout,
transactionCheck: ({ maxSpendable }) => {
invariant(
maxSpendable.gt(
Expand Down Expand Up @@ -452,7 +454,7 @@ const polygon: AppSpec<Transaction> = {
appName: "Polygon",
},
dependency: "Ethereum",
testTimeout: 2 * 60 * 1000,
testTimeout,
transactionCheck: ({ maxSpendable }) => {
invariant(
maxSpendable.gt(
Expand Down