Christopher Hiller

Results 432 comments of Christopher Hiller

The TL;DR of this issue is that “esm and rewiremock do not play nice together” to such a degree that the combination isn’t feasible beyond trivial use of rewiremock.

I think jdalton is on an open-source vacation / starting new job, so don’t expect the usual prompt fix.

try mocha's `--full-trace` option. we eliminated much of the stack trace to ignore Mocha internals; maybe it's zapping lines it shouldn't.

I don't even know if the browser bundle of mocha supports `full-trace`

Note: - `import path from "path"` also causes the failure - `import "path"` does *not* cause the failure

@theKashey you may or may not wish to comment on #799

I'm looking at `let myMacro = test.macro()` to do something like this, but the problem is that this only seems to work if I have synchronous access to the parameters...

Just throwing another idea on the pile: support a specific conditional export. e.g.: ```json { "name": "my-pkg", "version": "1.0.0", "exports": { ".": { "types": "./dist/index.d.ts", "typedoc": "./src/index.ts", "default": "./dist/index.js" },...

I'm starting to use this test runner as well.