Skip to content

Replace Jasmine with Jest#23

Merged
piecioshka merged 5 commits into
mainfrom
copilot/replace-jasmine-with-jest
Jan 12, 2026
Merged

Replace Jasmine with Jest#23
piecioshka merged 5 commits into
mainfrom
copilot/replace-jasmine-with-jest

Conversation

Copilot AI commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Migrates test framework from Jasmine to Jest, consolidating testing and coverage tooling.

Changes:

  • Replaced jasmine with jest in devDependencies
  • Removed nyc (Jest has built-in coverage)
  • Updated test scripts: jasmine src/*.spec.jsjest
  • Updated coverage scripts: nyc npm run test && nyc report --reporter=htmljest --coverage
  • Converted test matcher syntax: jasmine.any(Array)expect.any(Array)
  • Removed .nycrc configuration file

Test syntax change:

// Before
expect(result).toEqual(jasmine.any(Array));

// After
expect(result).toEqual(expect.any(Array));

All 3 test suites pass with 93.33% code coverage.

Original prompt

This section details on the original issue you should resolve

<issue_title>Replace Jasmine by Jest</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 12, 2026 13:38
Co-authored-by: piecioshka <244935+piecioshka@users.noreply.github.com>
Co-authored-by: piecioshka <244935+piecioshka@users.noreply.github.com>
Copilot AI changed the title [WIP] Replace Jasmine testing framework with Jest Replace Jasmine with Jest Jan 12, 2026
Copilot AI requested a review from piecioshka January 12, 2026 13:42
@piecioshka
piecioshka marked this pull request as ready for review January 12, 2026 13:46
@piecioshka
piecioshka merged commit 616f4c5 into main Jan 12, 2026
6 checks passed
@piecioshka
piecioshka deleted the copilot/replace-jasmine-with-jest branch January 12, 2026 13:47
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.

Replace Jasmine by Jest

2 participants