Skip to content

Commit

Permalink
Merge pull request #70 from OasisDEX/minor-fixes
Browse files Browse the repository at this point in the history
Minor fixes for flaky tests
  • Loading branch information
juan-langa authored Nov 14, 2023
2 parents bfc3451 + d30bce2 commit bdcd8b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/noWallet/aaveV2/aaveV2Multiply.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test.describe('Aave v2 Multiply', async () => {
await app.position.setup.orderInformation.shouldHaveTotalCollateral({
token: 'STETH',
current: '0.00000',
future: '[2-3][0-9].[0-9]{5}',
future: '[1-3][0-9].[0-9]{5}',
});
await app.position.setup.orderInformation.shouldHaveLTV({
current: '0.00',
Expand Down
2 changes: 1 addition & 1 deletion tests/withWallet/maker/makerMultiply.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ test.describe('Maker Multiply - Wallet connected', async () => {
});
await app.position.setup.orderInformation.shouldHavePriceImpact({
amount: '[1-4],[0-9]{3}.[0-9]{2}',
percentage: '0.[0-9]{2}',
percentage: '[0-5].[0-9]{2}',
});
await app.position.setup.orderInformation.shouldHaveSlippageLimit('0.[0-9]{2}');
await app.position.setup.orderInformation.shouldHaveMultiple({
Expand Down

0 comments on commit bdcd8b5

Please sign in to comment.