- Insert shebang to the bin script for compatibility with Bun.
- Insert shebang to the bin script for compatibility with Bun.
- Make the green tick thicker.
- Allow specifying multiple HTML pages on the command line.
- Recognise
-D
as--no-disconnect
on the command line. - Avoid favicon requests from the test pages.
- Enable browser cache for 5 seconds.
- Add parameter
-t|--timeout=ms
to fail the tests if a log or a network request does not occur in time. - Set
process.exitCode = 1
is a test failed.
- Fix formatting of error message, location and call stack
- Cut relative path from file URL too, not only from absolute path
- Cut the JavaScript file extension from the suite name based on file path
- Support ESM projects in Node.js and in the browser.
- Export
get
andset
methods to read and write configuration parameters, which are usually passed by thetehanu
object frompacjkage.json
orwindow
(in the browser), but it may be useful to access them from test scripts too. - Add an ESM runner in Node.js - teru-esm.
- Add another alias for CJS/UMD runner in Node.js - teru-cjs.
- Add an experimental runner in browser - tenbo.
- Complete the assertions in teas to match Node.js 18.
- Replace
esbuild
withswc
and use it only for minification. Bundle withrollup
. (esbuild
doesn't support UMD and I don't have time to maintain@prantlf/esbuild
any more.rollup
produces the most readable output, which is useful, if source maps fail.)
NOTE: The ESM support needs Node.js 14.13 or newer.
- Fix occasional re-initialising the tests. At least it did not lead to re-running the tests.
- Move
tehanu
to peer dependencies ofteru
.
- Stop using fs sync methods to read from
package.json
.
- Export
schedule
to allow executing the test suites manually and compatibly withteru
. - Export
factory
together withschedule
to allow importing both of them as named exports.
- Add alias
tehanu
to the scriptteru
to solve conflicts in some projects.
- Cut the relative path from the test suite name if __filename is specified.
- Upgrade NPM dependencies.
- Fix version dependencies.
- Add an option to preload Node.js modules.
- Fix typescript type for the test callback.
- Fix running in the browser.
- Fix the list of distributed files in
tehanu
andtehanu-repo-tape
. - Add minified ESM build output.
- Improve the package ionformation and the documentation.
Initial release.