ethers.js/packages/testcases/lib.esm/generation-scripts/nameprep.js

7 lines
251 B
JavaScript
Raw Permalink Normal View History

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