We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d59cc5 commit fe700e1Copy full SHA for fe700e1
test/src/e2e/snapshot.test.ts
@@ -50,14 +50,8 @@ describe("Snapshot", async function() {
50
const stateRoot = (await node.sdk.rpc.chain.getBlock(blockHash))!
51
.stateRoot;
52
expect(
53
- fs.existsSync(
54
- path.join(
55
- SNAPSHOT_PATH,
56
- blockHash.toString(),
57
- stateRoot.toString()
58
- )
59
60
- ).to.be.true;
+ path.join(SNAPSHOT_PATH, blockHash.toString(), stateRoot.toString())
+ ).to.satisfies(fs.existsSync);
61
});
62
63
afterEach(function() {
0 commit comments