eryue0220
eryue0220
I can do this
Hi @iuioiua @raashidanwar Can I try for this too? I'll pick ```ts expect.assertions expect.hasAssertions expect.addSnapshotSerializer expect.extend ```
Hi, @iuioiua I have a question about is there a way that I can know whether the current `Deno.test` is completed or not?
> Can you elaborate? Perhaps, something like this is what you're after. > > ```ts > let isTestDone = false; > Deno.test("my test", () => { > ... > isTestDone...
> I don't think we have such hook in `Deno.test`. These are the current options of Deno.test https://deno.land/[email protected]?s=Deno.TestDefinition Is there any possibility to add some similar hook in `deno_core`, such...
> > Is there any possibility to add some similar hook in deno_core, such as before and after? > > Not sure if we are still open to such addition....
> It might be non ideal, but maybe we can add support of `expect.hasAssertions()` only for `describe` `it` runners. They are wrappers of `Deno.test` and `t.step`, and we can add...
I think upgrade the `jest` version to the latest and this issue can be solved now. I have tried in my mac, and now it currently can run correctly. ...
> Thanks for your contribution! This is greatly(大大) appreciated :) > > I left suggestions. Feel free to ask details if it is not clear. Many thanks for your patience...