ethers.js/packages/testcases/ingest.js
2020-07-07 22:18:02 -04:00

14 lines
299 B
JavaScript

"use strict";
const fs = require("fs");
const { resolve } = require("path");
const { saveTests } = require("./lib/index");
function ingest(tag) {
const data = JSON.parse(fs.readFileSync(resolve(__dirname, "input", tag + ".json")).toString());
saveTests(tag, data);
}
ingest("bignumber")