Merged
Conversation
|
Contributor
Coverage reportMultiple errors occurred
Test suite run success1278 tests passing in 189 suites. Report generated by 🧪jest coverage report action from 5a185d8 |
…e-workflow-context.test.ts
f644954 to
859ab90
Compare
…e-test-context.test.ts
…railing-slash.test.ts
ade8a22 to
fe5dae3
Compare
fe5dae3 to
35d76cb
Compare
…tor/generate-arazzo-description.test.ts
tatomyr
commented
Mar 17, 2025
tatomyr
commented
Mar 18, 2025
DmitryAnansky
approved these changes
Mar 19, 2025
andriimredocly
approved these changes
Mar 19, 2025
tatomyr
added a commit
that referenced
this pull request
Mar 19, 2025
tatomyr
added a commit
that referenced
this pull request
Mar 20, 2025
andriimredocly
pushed a commit
that referenced
this pull request
Mar 24, 2025
andriimredocly
pushed a commit
that referenced
this pull request
Mar 24, 2025
andriimredocly
pushed a commit
that referenced
this pull request
Apr 1, 2025
andriimredocly
pushed a commit
that referenced
this pull request
Apr 9, 2025
tatomyr
added a commit
that referenced
this pull request
Apr 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why/How?
Migrated from Jest to Vitest.
Here's a short guidance:
jest-to-vitest migration guide
jest.fn
jest.fn()withvi.fn()jest.SpyInstance
import { MockInstance } from 'vitest';let spy: jest.SpyInstance;withlet spy: MockInstance;vi.spyOn
path, needed to use this hack (doesn't work without shallow copying):vi.mocked
with this:
This passes the actual types down to the mocked function and helps maintain consistency.
Reference
Testing
Screenshots (optional)
Check yourself
Security