Skip to content

Commit

Permalink
test: fix test names add account test to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Jan 11, 2024
1 parent 2d90a71 commit 3a546fc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
node-version: ['lts/*'] # 18.17.1 or lts/*
test-pattern:
- accounts.test.ts
- addresses.test.ts
- batches.test.ts
- blocks.test.ts
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/tests/api/accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { localConfig } from "../../src/config";
import { Token, Wallets } from "../../src/entities";
import { Helper } from "../../src/helper";

describe("/api", () => {
describe("/api?module=account", () => {
jest.setTimeout(localConfig.standardTimeout);

const helper = new Helper();
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 @@ -67,7 +67,7 @@ describe("/blocks", () => {
});
});

describe("/api", () => {
describe("/api?module=block", () => {
//@id1700
it("Verify /api?module=block&action=getblockcountdown&blockno={block_number} response", async () => {
const blocks = await request(environment.blockExplorerAPI).get("/blocks");
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/tests/api/contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Buffer, Wallets } from "../../src/entities";
import { Helper } from "../../src/helper";
import { Playbook } from "../../src/playbook/playbook";

describe("/api", () => {
describe("/api?module=contract", () => {
jest.setTimeout(localConfig.standardTimeout);

const helper = new Helper();
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/tests/api/logs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Buffer } from "../../src/entities";
import { Helper } from "../../src/helper";
import { Playbook } from "../../src/playbook/playbook";

xdescribe("/api", () => {
xdescribe("/api?module=logs", () => {
jest.setTimeout(localConfig.standardTimeout); //works unstable without timeout
const helper = new Helper();
const bufferFile = "src/playbook/";
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/tests/api/transactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ describe("Transactions", () => {
});
});

describe("/api", () => {
describe("/api?module=transaction", () => {
//@id1697
it("Verify /api?module=transaction&action=getstatus response", async () => {
txHash = await helper.getStringFromFile(bufferFile + Buffer.txEthTransfer);
Expand Down

0 comments on commit 3a546fc

Please sign in to comment.