Mark Wubben

Results 372 comments of Mark Wubben

The solution proposed by @Gozala in https://github.com/avajs/ava/pull/3023 may prove worthwhile, though I haven't thought it through in much detail. Reopening for further exploration.

We could also check whether worker threads are enabled (in AVA's config) and then create a worker. If that fails with a recognized error we don't run the tests at...

Yea AVA doesn't do this. Watch mode merely notes which source files are depended on my test files, and uses that to re-run specific test files. It should be possible...

@AgentBurgundy you can already pass specific file paths to AVA, so you could do this without changing AVA itself.

FWIW, AVA now treats the file paths you provide as a filter over the tests it would execute normally. Which means you can pass staged files. AVA itself now supports...

> Therefore probably the only viable way is to add a new assertation rule for unordered cases This sounds good. Would this be a deep or shallow comparison? Shallow will...

The comparisons are implemented in a separate library, adding an unordered mode will be a lot of work. A shallow algorithm could be implemented in AVA itself, more easily. Perhaps...

> If shallow equality implemented in AVA itself we'll lose the diffs. We could still print well-formatted extraneous and missing entries. And for maps a diff of equal keys with...

Deeply copying instances so we can hand them to Concordance seems like an approach that would fail in surprising ways, depending on how the code under test is constructed. So...

`...process.env` is meant to do a shallow copy of the `process.env` object. However the Node.js documentation says this: > On Windows operating systems, environment variables are case-insensitive. https://nodejs.org/api/process.html#processenv This implies...