Skip to content

Commit

Permalink
Merge pull request #1458 from SUI-Components/docs/update-readme-link
Browse files Browse the repository at this point in the history
docs(packages/sui-studio): fix the readme cli section url
  • Loading branch information
danilucaci committed Sep 1, 2022
2 parents 216cf91 + 2c70890 commit 9c066a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sui-studio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe.context.other('atom/button', AtomButton => {

**TLDR: Apply the context exported from the `/demo/context.js` file for React components other than just the ones in `/test/index.test.js`.**

Since you can use the `PATTERN=appraisal/report npm run test:studio` (see [the section on cli testing](#cli-integration-testing)) command to test a single studio component and you can have more than one `*.test.js` file inside the `/test` folder, you can use the following to test more than one component and apply to it the React Context exported from the `/demo/context.js` file.
Since you can use the `PATTERN=appraisal/report npm run test:studio` (see [the section on cli testing](#cli-testing-integration)) command to test a single studio component and you can have more than one `*.test.js` file inside the `/test` folder, you can use the following to test more than one component and apply to it the React Context exported from the `/demo/context.js` file.

#### Example `/test` folder tree structure

Expand Down

0 comments on commit 9c066a0

Please sign in to comment.