Skip to content

Commit

Permalink
test: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Jan 10, 2024
1 parent 86de14f commit 0eba740
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -7,7 +7,6 @@ import { Buffer } from "../../src/entities";
import { Helper } from "../../src/helper";
import { Playbook } from "../../src/playbook/playbook";


describe("Logs API", () => {
jest.setTimeout(localConfig.standardTimeout); //works unstable without timeout
const helper = new Helper();
Expand All @@ -33,6 +32,7 @@ describe("Logs API", () => {
return request(environment.blockExplorerAPI)
.get(apiRoute)
.expect(200)
.expect((res) => console.log(res.body.result[0]))
.expect((res) =>
expect(res.body.result[0]).toStrictEqual(expect.objectContaining({ address: contractAddress }))
)
Expand Down

0 comments on commit 0eba740

Please sign in to comment.