You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/guides/ecosystem/storybook.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ We were not able to detect the right builder for your project. Please select one
47
47
Webpack 5
48
48
```
49
49
50
-
> See our Vitest docs foradditional configuration examples to support [Import Attributes](/guides/ecosystem/vitest/#import-attributes) and [Greenwood resource plugins](/guides/ecosystem/vitest/#resource-plugins) usagein your components. For this guide, you'll be updating a _vite.config.js_ file instead.
50
+
> See our Vitest docs foradditional configuration examples to support [Import Attributes](/guides/ecosystem/vitest/#import-attributes) and [Greenwood resource plugins](/guides/ecosystem/vitest/#resource-plugins) usagein your components. For that guide, you'll be updating a _vite.config.js_ file instead.
@@ -99,7 +99,7 @@ The best way to test Web Components is in a browser. For this guide, we will use
99
99
100
100
<!-- prettier-ignore-end -->
101
101
102
-
Then install Playwright
102
+
Then install Playwright:
103
103
104
104
<!-- prettier-ignore-start -->
105
105
@@ -141,7 +141,7 @@ Then in our _vitest.config.js_ file, let's add configuration for Playwright:
141
141
142
142
<!-- prettier-ignore-end -->
143
143
144
-
> Note: For CI environments like GitHub Actions, you'll want to add a step for install Playwright include deps
144
+
> Note: For CI environments like GitHub Actions, you'll want to add a step for installing Playwright, including the [`--with-deps` flag](https://playwright.dev/docs/ci):
145
145
>
146
146
> ```shell
147
147
> npx playwright install --with-deps
@@ -225,7 +225,7 @@ You should now be good to start writing your first test! ⚡
225
225
226
226
## Import Attributes
227
227
228
-
As [Vite does not support Import Attributes](https://github.com/vitejs/vite/issues/14674), we will need to update our_vitest.config.js_ file and write a [custom plugin](https://vitejs.dev/guide/api-plugin) to work around this.
228
+
As [Vite does not support Import Attributes](https://github.com/vitejs/vite/issues/14674), you will need to update your_vitest.config.js_ file and write a [custom plugin](https://vitejs.dev/guide/api-plugin) to work around this.
229
229
230
230
In this example we are handling for CSS Module scripts:
231
231
@@ -302,7 +302,7 @@ Phew, should be all set now.
302
302
303
303
## Resource Plugins
304
304
305
-
If you're using one of Greenwood's [resource plugins](/docs/plugins/), you'll want to update the _vitest.config.js_ file so we can create a custom transformation plugin that can leverage Greenwood's plugins to automatically handle custom transformations.
305
+
If you're using one of Greenwood's [resource plugins](/docs/plugins/), you'll want to update the _vitest.config.js_ file with a plugin that can leverage Greenwood's plugins to automatically handle custom transformations.
306
306
307
307
For example, if you're using Greenwood's [Raw Plugin](https://github.com/ProjectEvergreen/greenwood/tree/master/packages/plugin-import-raw), you'll need to create a wrapping Vite plugin to handle this transformation.
0 commit comments