hivemind icon indicating copy to clipboard operation
hivemind copied to clipboard

Jest test runner

Open FutureAstroMiner opened this issue 2 years ago • 1 comments

I noticed that some of the tests in the utilities test file will no longer work (due to some refactoring that was done last year.

I have done some work to use the jest typescript starter that includes converting over some of your existing tests.

Up to you if you want them or not.

I had to add hivemind to global as I couldn't get the tests to work otherwise. There might be a way but I am not sure.

I had to disable some of the tests as I couldn't see what they were testing. This could be improved upon.

This might be better committed to a branch and worked on there but up to you.

FutureAstroMiner avatar Jul 16 '22 21:07 FutureAstroMiner

Thank you! I was thinking of moving from ava to jest because that's what the typescript starter uses, so this will be a nice base for doing that. I'll not merge the PR as it is, since I want to keep xo as my linting tool and am in the process of reducing dependencies on hivemind.ts

Mirroar avatar Jul 19 '22 19:07 Mirroar