Skip to content
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

Migrates to msw 2 #389

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Migrates to msw 2 #389

merged 1 commit into from
Aug 30, 2024

Conversation

ReidyT
Copy link
Contributor

@ReidyT ReidyT commented Aug 16, 2024

This PR migrates MSW to v2, but also includes the mocks of the upload app settings files as well as download app settings file (GET /download-app-setting-url/:id). This PR allows to mock the upload and download file for name-the-frame app.

If you are more interested on the mock files, check these handlers:

  • post(${apiHost}/${buildUploadAppSettingFilesRoute(':id')}
  • get(${buildAppSettingDownloadUrl(':appSettingId')}

Copy link
Member

@spaenleh spaenleh left a comment

Choose a reason for hiding this comment

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

Looks good ! Thank you !

src/mockServer/msw/dexie-db.ts Show resolved Hide resolved
src/mockServer/msw/dexie-db.ts Show resolved Hide resolved
src/mockServer/msw/handlers.ts Outdated Show resolved Hide resolved
@ReidyT ReidyT force-pushed the migrate-to-msw-2 branch 2 times, most recently from 2eb5bf3 to 508dfdf Compare August 28, 2024 14:20
@ReidyT ReidyT marked this pull request as ready for review August 28, 2024 14:24
src/mockServer/mirage/server.ts Outdated Show resolved Hide resolved
src/mockServer/mirage/server.ts Outdated Show resolved Hide resolved
* feat: mocks upload app settings files

Co-Authored-By: ReidyT <thibault.reidy@hotmail.ch>
Copy link

@ReidyT ReidyT added this pull request to the merge queue Aug 30, 2024
Merged via the queue into main with commit 6ffb427 Aug 30, 2024
3 checks passed
@ReidyT ReidyT deleted the migrate-to-msw-2 branch August 30, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants