wavefile icon indicating copy to clipboard operation
wavefile copied to clipboard

feat: migrate test suite to Node.js native tests and ESM

Open jlucaso1 opened this issue 5 months ago • 0 comments

  • Replace Mocha with Node.js native test runner
  • Convert all test files from CommonJS to ES Modules
  • Add some CLI tests
  • Use esbuild instead rollup (has two different output files specific for cjs and esm)
  • Deleted AMD test because we don't compile to AMD/UMD anymore (the esm will work on browsers)

This commit modernizes our testing infrastructure by leveraging Node.js built-in test runner and embracing ES Modules across our test suite. It also introduces new tests for the CLI functionality.

jlucaso1 avatar Sep 11 '24 05:09 jlucaso1