Skip to content

refactor tests to use jest instead of tape & update linting dependencies.#164

Merged
theborowski merged 6 commits into
masterfrom
jake/jest
Feb 9, 2026
Merged

refactor tests to use jest instead of tape & update linting dependencies.#164
theborowski merged 6 commits into
masterfrom
jake/jest

Conversation

@theborowski
Copy link
Copy Markdown
Contributor

context & changes

The cloudfriend project has a handful of high level security vulnerabilities with 8 of them coming from the outdated tap-spec project and related testing & linting packages. The old tape related testing packages are likely not going to get updated anymore and so this PR aims to refactor the test suite to use jest.

  • replaces tape, tap-spec, nyc, and opener with jest - refactors the tests to use the jest API
  • updates @mapbox/eslint-config-mapbox and eslint + fix newline at eof in a bunch of files
  • patch version bump from 9.2.0 to 9.2.1

security vulnerabilities

before

31 vulnerabilities (4 low, 4 moderate, 23 high)

after

18 vulnerabilities (1 low, 2 moderate, 15 high)

@theborowski theborowski requested a review from a team as a code owner February 6, 2026 20:26
@theborowski theborowski added the ai AI coding agents co-authored the code label Feb 6, 2026
Comment thread test/bin.test.js Fixed
Copy link
Copy Markdown
Contributor

@ryndaniels ryndaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 thanks for taking care of this!

@theborowski theborowski merged commit 8afbc53 into master Feb 9, 2026
6 checks passed
@theborowski theborowski deleted the jake/jest branch February 9, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai AI coding agents co-authored the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants