ethers.js/packages/testcases/src.ts/generation-scripts/units.ts

12 lines
268 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:25:46 -04:00
'use strict';
import fs from "fs";
import { resolve } from "path";
import { saveTests, TestCase } from "..";
const testcases: Array<TestCase.Unit> = JSON.parse(fs.readFileSync(resolve(__dirname, "../input/units.json")).toString());
saveTests("units", testcases);