Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

215 B
Raw Blame
"use strict";

const fs = require("fs");

require.extensions[".ts"] = function (module, filename) {
  const content = fs.readFileSync(filename + ".compiled", "utf8");
  return module._compile(content, filename);
};