Skip to content

chore(test): migrate to node:test runner#161

Merged
erisu merged 1 commit into
apache:masterfrom
erisu:feat/node-testing
Jun 19, 2026
Merged

chore(test): migrate to node:test runner#161
erisu merged 1 commit into
apache:masterfrom
erisu:feat/node-testing

Conversation

@erisu

@erisu erisu commented Jun 9, 2026

Copy link
Copy Markdown
Member

Platforms affected

n/a

Motivation and Context

Migrate to node:test runner

Description

  • Move 'spec' to 'test'
  • Use 'node:test' and 'node:assert'
  • Remove npm package 'jasmine' and 'c8'
  • Update npm test script
  • Add 'lcov.info' to ignore lists
  • Update 'createPlatform' in 'lib/Api.js' to call 'new Api'
  • Bump 'tmp' to '0.2.7'

Testing

  • npm t

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

@erisu erisu requested a review from dpogue June 9, 2026 13:23
@codecov-commenter

codecov-commenter commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.27%. Comparing base (4e4c0de) to head (02bed4b).

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #161       +/-   ##
===========================================
+ Coverage   43.77%   62.27%   +18.50%     
===========================================
  Files           4        7        +3     
  Lines         795     1185      +390     
===========================================
+ Hits          348      738      +390     
  Misses        447      447               

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

* Move 'spec' to 'test'
* Use 'node:test' and 'node:assert'
* Remove npm package 'jasmine' and 'c8'
* Update npm test script
* Add 'lcov.info' to ignore lists
* Update 'createPlatform' in 'lib/Api.js' to call 'new Api'
@erisu erisu force-pushed the feat/node-testing branch from 4d5a3ba to 02bed4b Compare June 9, 2026 13:33
@erisu erisu merged commit 9688f08 into apache:master Jun 19, 2026
11 checks passed
@erisu erisu deleted the feat/node-testing branch June 19, 2026 05:18
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