`js-test` is a minimal JavaScript test runner. The aim of this library is to enable JavaScript developers to write test code in very plain JavaScript. To write test files with this language all one needs to do is:
`js-test` is a minimal JavaScript test runner. The aim of this library is to enable JavaScript developers to write test code in very plain JavaScript. To write test files with this language all one needs to do is:
1. Export functions whose names start with the word "test"
1. Export functions whose names start with the word "test"
2. Name the file to match the format `*.test.{js,cjs,mjs}`
2. Name the file to match the format `*.test.{js,cjs,mjs}`
Then running `js-test` will run all the test files it can find in your project.
Then running `js-test` will run all the test files it can find in your project.