Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed May 1, 2024
1 parent fd1b05b commit 1f851e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions code/addons/actions/template/stories/spies.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const meta = {
export default meta;

export const ShowSpyOnInActions = {
parameters: {
chromatic: { disable: true },
},
beforeEach() {
console.log('second');
},
Expand Down
3 changes: 3 additions & 0 deletions code/lib/preview-api/template/stories/rendering.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ let loadedLabel = 'Initial';
* Similarly, changing args rapidly should only cause one rerender at a time, producing the same result.
*/
export const SlowLoader = {
parameters: {
chromatic: { disable: true },
},
loaders: [
async () => {
loadedLabel = 'Loading...';
Expand Down
4 changes: 3 additions & 1 deletion code/lib/test/template/stories/before-each.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { global as globalThis } from '@storybook/global';
import { expect, mocked, getByRole, spyOn, userEvent } from '@storybook/test';

const meta = {
Expand All @@ -12,6 +11,9 @@ const meta = {
export default meta;

export const BeforeEachOrder = {
parameters: {
chromatic: { disable: true },
},
beforeEach() {
console.log('second');
},
Expand Down

0 comments on commit 1f851e9

Please sign in to comment.