nuxt-modules / nuxt-modules/strapi

Mocking strapi with MSW

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
TypeScript
Stars
717
Forks
89
Avg merge
7h 3m
Merged PRs (30d)
6

Description

Hi, i'm trying to mock the Strapi endpoints in local using MSW. For any reason (i suspect is for using $fetch, that seems to have some problem with MSW) the endpoints are not mocked.

Have someone had the same problem? Any solution?

Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are identified in the issue. Begin by reproducing the Strapi endpoint mocking failure with MSW and $fetch in a local Nuxt setup; done requires a confirmed cause and a verified solution.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
api, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.