Imports now specify the file extension to support Node v12

This commit is contained in:
n1474335 2019-07-09 12:23:59 +01:00
parent d7d50337f9
commit 566517d20f
469 changed files with 1098 additions and 1093 deletions

View file

@ -17,7 +17,7 @@
*/
import assert from "assert";
import it from "../assertionHandler";
import it from "../assertionHandler.mjs";
import fs from "fs";
import {
@ -33,9 +33,9 @@ import {
toBase64,
toHex,
} from "../../../src/node/index";
import chef from "../../../src/node/index";
import TestRegister from "../../lib/TestRegister";
import File from "../../../src/node/File";
import chef from "../../../src/node/index.mjs";
import TestRegister from "../../lib/TestRegister.mjs";
import File from "../../../src/node/File.mjs";
global.File = File;