google / google/site-kit-wp

Add the test module for storybook tests

Open
#11,244 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Feature Description

Add a test module exclusively for storybook to test the components like `ReportErrorWrapper` so that we do not need to pass a real module to such components. Refer to the [comment](https://github.com/google/site-kit-wp/pull/11221#discussion_r2248940154) on #11221

---------------

_Do not alter or remove anything below. The following sections will be managed by moderators only._

## Acceptance criteria

*

## Implementation Brief

* [ ]

### Test Coverage

*

## QA Brief

*

## Changelog entry

*

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the ReportErrorWrapper component and the discussion on pull request #11221 that motivates this request. The work is done when Storybook has a dedicated test module that can test such components without passing a real module.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, storybook
Domain
frontend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.