Comparing v2.2.2...v3.0.0 · actions/create-github-app-token (original) (raw)
Commits on Mar 14, 2026
- Configuration menu
Browse the repository at this point in the history - Configuration menu
Browse the repository at this point in the history - Configuration menu
Browse the repository at this point in the history - Configuration menu
Browse the repository at this point in the history - test: migrate from AVA to Node.js native test runner (#346)
AVA stores snapshots in a binary format (.snap), which produces no
meaningful diffs and bloats Git history. This replaces AVA with the
built-innode:testmodule, whose snapshot support generates
human-readable text files that are easy to diff and review in pull
requests.
The migration also replaces@sinonjs/fake-timersandexecawith
Node.js built-ins (node:testmock timers andnode:child_process),
removing three dev dependencies total.
tests/index.js: Rewritten to usenode:testwith a custom
snapshot serializer that renders strings with actual newlines. Uses
subtests for labeledstderr/stdoutsnapshots, and only snapshots
non-empty output.tests/main-repo-skew.test.js: Replace@sinonjs/fake-timers
withmock.timers.enable()fromnode:test.tests/README.md: Updated documentation to reflectnode --test
and the new snapshot file.package.json: Removeava,@sinonjs/fake-timers, andexeca
from devDependencies. Update test script toc8 --100 node --test tests/index.js.tests/index.js.snapshot: New text-based snapshot file replacing
binarytests/snapshots/index.js.snap.tests/snapshots/: Deleted.
All 22 test scenarios (66 subtests) pass with 100% code coverage.
Closes #344
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Co-authored-by: Copilot Autofix powered by AI 175728472+Copilot@users.noreply.github.com
(cherry picked from commit f863ba5)
3 people committed
Mar 14, 2026
Configuration menu
Browse the repository at this point in the history
6. Configuration menu
Browse the repository at this point in the history
7. Configuration menu
Browse the repository at this point in the history
8. Configuration menu
Browse the repository at this point in the history
9. build: refresh generated artifacts
Regenerate dist bundles and package-lock.json after replaying the release-v3 changes onto next.\n\nCo-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Configuration menu
Browse the repository at this point in the history
10. Configuration menu
Browse the repository at this point in the history
11. Configuration menu
Browse the repository at this point in the history