-
-
Notifications
You must be signed in to change notification settings - Fork 664
feat(mock): extend output.mock with multi-generator support for msw and faker #3407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ff18a6d
refactor(core): split GlobalMockOptions into MswMockOptions and Faker…
jakiestfu d3c181a
refactor(core): add isMswMock and isFakerMock type guards
jakiestfu 8613e9a
feat(mock): add faker generator and dispatch by OutputMockType
jakiestfu bcf19a4
refactor(core): emit one mock file per generators entry in writers
jakiestfu c8ed0cc
refactor(orval): normalize output.mocks and dispatch per generator entry
jakiestfu 720f946
refactor(integrations): read output.mocks instead of output.mock
jakiestfu 6c17dce
chore(configs): migrate test and sample configs from mock to mocks
jakiestfu 48b530b
fix(core): collapse inline mock outputs to drop duplicate faker facto…
jakiestfu d86f99d
chore(snapshots): add faker mock snapshots for samples and tests
jakiestfu 9e32055
test(mock): add faker generator tests and discriminated union type gu…
jakiestfu f4182bb
docs: rewrite mock configuration reference and msw guide for output.m…
jakiestfu 9d27f72
fix(lint): resolve eslint errors in mock index and core writers
jakiestfu f09ccb5
refactor(core): rename output.mocks option key back to output.mock
jakiestfu 1eead06
chore(configs): rename mocks to mock in all test and sample configs
jakiestfu 6401c6e
docs: rename mocks to mock in all doc examples, fix stale comments, a…
jakiestfu c16f788
refactor(core): fix stale mocks: true comment references to mock: true
jakiestfu 74fe6d6
fix(core): reject duplicate mock generator types during normalization
jakiestfu 60bb3ba
docs(v8): rewrite mock migration section to reference actual v7 API s…
jakiestfu 2b7e01c
fix(core): rename mocks to mock in remaining package test files
jakiestfu d02ce24
fix(docs): fix stale mocks.indexMockFiles reference and update type c…
jakiestfu 8e70924
fix(core): look up mock generators by type instead of index in writers
jakiestfu 881e03c
fix(core): reject function mock generators early in tags-split mode
jakiestfu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.