Skip to content

Commit

Permalink
snapshot output
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrinded committed Nov 27, 2024
1 parent 904ff85 commit 6e342c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
1 change: 1 addition & 0 deletions test/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ cache
artifacts
**/tmp/*
**/contracts/out/
snapshot_output.txt
18 changes: 0 additions & 18 deletions test/snapshot_output.txt

This file was deleted.

7 changes: 5 additions & 2 deletions test/suites/fork_test/test_fork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describeSuite({
forkConfig: {
url: "https://moonbeam.unitedbloc.com",
verbose: true,
blockHash: "0xffe39256c17cc4523a07c907bcf1aeeef4db217cd57cfcfb95d56088e0bb9f2d"
blockHash: "0xffe39256c17cc4523a07c907bcf1aeeef4db217cd57cfcfb95d56088e0bb9f2d",
},
},
testCases: ({ it, context, log }) => {
Expand Down Expand Up @@ -55,7 +55,10 @@ describeSuite({
const {
data: { free },
} = await polkadotJs.query.system.account(testAccount);
expect(free.toBigInt(), `Free balance should match what account ${testAccount} has at block #8508372`).toBe(76562560590695097485140n);
expect(
free.toBigInt(),
`Free balance should match what account ${testAccount} has at block #8508372`
).toBe(76562560590695097485140n);
},
});
},
Expand Down
2 changes: 1 addition & 1 deletion test/suites/update/test_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describeSuite({
title: "This is a test suite that tests the update snapshot feature",
foundationMethods: "read_only",
testCases: ({ it, log }) => {
let random: number
let random: number;

beforeAll(() => {
random = Math.floor(Math.random() * 100);
Expand Down

0 comments on commit 6e342c1

Please sign in to comment.