Skip to content

Commit

Permalink
Set increased default mocha timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Aug 14, 2023
1 parent eaf72ce commit c2c731f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions markets/perps-market/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ const config = {
],
templates,
},
mocha: {
timeout: 200000,
},
};

export default config;
3 changes: 0 additions & 3 deletions markets/spot-market/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ const config = {
default: 'off',
},
},
mocha: {
timeout: 200_000,
},
};

export default config;
3 changes: 3 additions & 0 deletions utils/common-config/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ const config = {
cannon: {
publicSourceCode: true,
},
mocha: {
timeout: 300_000,
},
};

export default config;
3 changes: 0 additions & 3 deletions utils/core-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import commonConfig from '@synthetixio/common-config/hardhat.config';
const config = {
...commonConfig,
defaultNetwork: 'hardhat',
mocha: {
timeout: 120000,
},
};

export default config;
3 changes: 0 additions & 3 deletions utils/core-modules/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import commonConfig from '@synthetixio/common-config/hardhat.config';

const config = {
...commonConfig,
mocha: {
timeout: 120000,
},
};

export default config;

0 comments on commit c2c731f

Please sign in to comment.