Mark Wubben

Results 372 comments of Mark Wubben

> I wonder if `test()` could return a `Promise` and then when we get top-level `await` you could wrap all tests in a `try` / `catch`? That would be interesting!...

I've been thinking about this for a while now. I think as part of https://github.com/avajs/ava/pull/2435 I'd like to have a "set-up" lifecycle thing which can return a teardown function. It's...

> Curious why it was removed from priorities. I don't know @mikob, that was 3 years ago! πŸ˜„ > I would like cleanup to be run on test success, test...

@mikob re-reading the conversation here I think https://github.com/avajs/ava/issues/928#issuecomment-279435752 sums up a direction we can take this. But I don't think that would solve your problem. Do you get PIDs for...

@amslv awesome, thanks! Since this issue was opened, we added support for `ava.config.js` files. We need to make sure the arguments can be stringified as JSON and then parsed in...

@stavalfi I'm not sure what your question is. Could you rephrase it?

@OmLakshmi yes, that'd be great, thanks. @niteshsarode please do let us know if you are about to submit a pull request πŸ˜„

The main process is what loads the configuration. Essentially we can add a validation step before this return: https://github.com/avajs/ava/blob/b71f396df7b9d74ef24262b6840df1593cad3798/lib/load-config.js#L163 You wouldn't use `assert.js` itself. Load Concordance instead and use the...