Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved tests from Mocha to Node.js Test Runner. #154

Open
AaronNGray opened this issue Apr 14, 2024 · 3 comments
Open

Moved tests from Mocha to Node.js Test Runner. #154

AaronNGray opened this issue Apr 14, 2024 · 3 comments

Comments

@AaronNGray
Copy link

Hi,

As an initial experiment I moved the tests from Mocha to Node.js Test Runner.

https://github.com/AaronNGray/Wasmnizer-ts/tree/nodejs-test-runner

Thought you might want to take a look !

@xujuntwt95329
Copy link
Contributor

Hi @AaronNGray

Thanks a lot, this is cool!

I've navigated nodejs document and noticed that the test runner is available in node 20, I think it would be great if we reserve both mocha (for node before version 20.0) and nodejs test runner (for node after version 20.0).

Would you like to create a pull request? Your contribution is welcome!

@AaronNGray
Copy link
Author

AaronNGray commented May 1, 2024

@xujuntwt95329 Great, thanks I will do, sorry for the delay I must have checked this issue a few days before you replied.

Is it possible to put together a proper road map for the project please ?

Either in dicussions or GitHub Projects.

@AaronNGray
Copy link
Author

@xujuntwt95329 I have an issue with the fact the mocha tests require an import "mocha" in the TypeScript files, where as I have removed that from the node test runner versions. I do not think its a good idea to duplicate all the test source code.

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

No branches or pull requests

2 participants