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

[Tracking] Typesafe module mocking based on package.json standards #26637

Closed
29 of 53 tasks
kasperpeulen opened this issue Mar 25, 2024 · 0 comments
Closed
29 of 53 tasks
Assignees
Labels

Comments

@kasperpeulen
Copy link
Contributor

kasperpeulen commented Mar 25, 2024

[RFC] Typesafe module mocking based on package.json standards

Milestone 1 here is to setup a demo where we can validate all the APIs we are going to make in this project.
In parallel we will work on milestone 2-6 which we ship with canary releases that we then can test and validate in the demo.
Milestone 2-3 are the must haves. And milestone 4-6 are nice to haves for this project.
Once the APIs are validated and finalized we can work on the docs and make a blog post of the demo.

1 Public demo showing how RSC's touching DB and cookies can be tested in isolation in Storybook (Yann)

  1. ci:normal feature request nextjs
    kasperpeulen

2 Implement standard-based module mocking (Kasper)

  1. kylegach
  2. kylegach
  3. core feature request

3 Add beforeEach as a new concept to CSF (Kasper)

  1. JReinhold
  2. kylegach
  3. JReinhold

Out of scope

4 Add a mock utility to storybook test that makes a module "mockable" (nice to have)

5 Make sure that $-prefixed-args are treated as non-component args in CSF (nice to have)

6 Implement sb mock command (nice to have)

@kasperpeulen kasperpeulen changed the title Module mocking in storybook [Tracking] Module mocking in storybook Mar 25, 2024
@kasperpeulen kasperpeulen changed the title [Tracking] Module mocking in storybook [Tracking] Typesafe module mocking based on package.json standards May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Status: Done
Development

No branches or pull requests

4 participants