Closed

Description
TypeScript Version: master
- In
host.ts
,require("mocha")
returns the global object. (There's a linemodule.exports = global;
inmocha.js
, so apparently this is intended.) You probably meantrequire("mocha").Mocha
. - I'm using a valid regexp, but it doesn't seem to run any tests.
Reverting to before #18462 fixes the problem. CC @weswigham