Skip to content

Commit

Permalink
chore: fix after lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abilevych committed Nov 6, 2023
1 parent e848a0f commit 4064634
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/integration-tests/tests/api/batches.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { localConfig } from "../../src/config";

describe("/batches", () => {
jest.setTimeout(localConfig.standardTimeout);

//@id1513
it("Verify the response via /batches", async () => {
await setTimeout(localConfig.standardPause); //works unstable without timeout
Expand All @@ -29,7 +30,7 @@ describe("/batches", () => {
});

//@id1514
xit("Verify the response via /batches/{batchNumber}", async () => {
it("Verify the response via /batches/{batchNumber}", async () => {
await setTimeout(localConfig.standardPause); //works unstable without timeout

const batches = await request(environment.blockExplorerAPI).get("/batches");
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/tests/api/blocks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("/blocks", () => {

//@id1512
it("Verify the response via /blocks/{/blockNumber}", async () => {
await setTimeout(localConfig.standardTimeout); //works unstable without timeout
await setTimeout(localConfig.extendedPause); //works unstable without timeout

const blocks = await request(environment.blockExplorerAPI).get("/blocks");

Expand Down
4 changes: 3 additions & 1 deletion packages/integration-tests/tests/api/stats.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import { environment } from "../../src/config";
import { localConfig } from "../../src/config";

describe("/stats", () => {
jest.setTimeout(localConfig.standardTimeout); //works unstable without timeout

//@id1515
it("Verify the response via /stats", async () => {
await setTimeout(localConfig.standardPause); //works unstable without timeout
await setTimeout(localConfig.extendedPause); //works unstable without timeout

const apiRoute = `/stats`;

Expand Down
4 changes: 2 additions & 2 deletions packages/integration-tests/tests/api/transactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ describe("Transactions", () => {
const bufferFile = "src/playbook/";
const playbook = new Playbook();

let contract: any;
let contract: string;
let token: string;
let txHash: any;
let txHash: string;

beforeAll(async () => {
const customToken = await helper.getStringFromFile(bufferFile + Buffer.L2deposited);
Expand Down

0 comments on commit 4064634

Please sign in to comment.