Skip to content

Commit

Permalink
increase tests time limite
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Mar 8, 2024
1 parent 327f1aa commit 9b666c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/__tests__/oracleRouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe("OracleRouter", () => {
expect(oracles.tokenBuyOracle.toLowerCase()).toEqual(
"0xbba12740DE905707251525477bAD74985DeC46D2".toLowerCase()
);
}, 5000);
}, 15000);
it("should raise error for gnosis tokens", async () => {
const mainnetRouter = new mainnetRouterFactory({
chainId: 1,
Expand All @@ -71,7 +71,7 @@ describe("OracleRouter", () => {
await expect(mainnetRouter.findRoute()).rejects.toThrow(
"No matching oracles found"
);
}, 5000);
}, 15000);
it("should find WETH USD oracle", async () => {
const mainnetRouter = new mainnetRouterFactory({
chainId: 1,
Expand All @@ -81,7 +81,7 @@ describe("OracleRouter", () => {

const wethOracles = await mainnetRouter.findSellOracle();
expect(typeof wethOracles.USD).toBe(`string`);
}, 5000);
}, 15000);
});
describe("GnosisRouter", () => {
const gnosisRouterFactory = CHAINS_ORACLE_ROUTER_FACTORY[100];
Expand Down

0 comments on commit 9b666c1

Please sign in to comment.