UNPKG

@kba-tools/genesis-tool

Version:

A forked repo from ConsenSys which helps to generate genesis block for Besu Network with xemptyBlockPeriod field.

15 lines (9 loc) 386 B
import * as fileHandler from "../../src/lib/fileHandler"; import { TEST_QUORUM_CONFIG } from "./testConstants"; describe("FileHandler tests", () => { it("should create a new output folder", () => { const path = './output/' + fileHandler.createTimestamp(); const f: string = fileHandler.setupOutputFolder(path, TEST_QUORUM_CONFIG); expect(f).not.toBe(null); }); });