-
Notifications
You must be signed in to change notification settings - Fork 77
tips
JC Franco edited this page Jan 23, 2025
·
5 revisions
-
For speedier CI test troubleshooting, you can use the
exclude
prop under thetest
object invite.config.ts
to only run a specific suite.test: { exclude: ["(/__tests__/.*|(\\.|/)modal.e2e)\\.[jt]sx?$"] }
Just remember to remove it at some point before merging. 😅
-
You can use Chromatic builds + online code editors (e.g., CodePen) for extra testing without having to update storybook stories or publish to NPM. Example: https://codepen.io/jcfranco/pen/RwYRyGWThis is no longer possible with the latest Storybook + Vite build -
To be able to use
npm link
our packages with vite builds, make sure to add the following tovite.config.ts
:optimizeDeps: { exclude: ["@esri/calcite-components"] }
see https://dev.to/hontas/using-vite-with-linked-dependencies-37n7