Skip to content

Conversation

@jamonholmgren
Copy link
Member

@jamonholmgren jamonholmgren commented Jul 4, 2023

I used flame and GPT-4 to convert the test code base from ava to jest.

Full explanation in the YouTube video I made about it!

https://www.youtube.com/watch?v=p2mO1JiF-7U

Copy link
Member

@robinheinze robinheinze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really impressive how well it did. Just a couple small things to fix.

This commit addresses feedback on the test files. It removes explicit imports of globals in all test files for consistency. It also strengthens the assertions in the tests by replacing .toBeTruthy() and .toBeFalsy() with .toBe(true) and .toBe(false) respectively. Additionally, a test in test/cancellation.test.js has been converted to use async/await for better readability and understanding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants