ethers.js/packages/testcases/src.ts/generation-scripts/nameprep.ts
2019-08-02 01:58:42 -04:00

12 lines
292 B
TypeScript

'use strict';
import fs from "fs";
import { resolve } from "path";
import { saveTests, TestCase } from "..";
const testcases: Array<TestCase.Nameprep> = JSON.parse(fs.readFileSync(resolve(__dirname, "../input/nameprep-josefsson-idn.json")).toString());
saveTests("nameprep", testcases);