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

12 lines
268 B
TypeScript
Raw Normal View History

2019-05-15 01:25:46 +03: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);