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

12 lines
292 B
TypeScript
Raw Permalink Normal View History

'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);