Skip to content

Commit

Permalink
Update stories
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Dec 13, 2023
1 parent d2aa8fc commit 87fa18c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions node-src/ui/messages/info/storybookPublished.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ export default {
};

export const StorybookPublished = () =>
storybookPublished({
storybookUrl: 'https://5d67dc0374b2e300209c41e7-pfkaemtlit.chromatic.com/',
} as any);

export const StorybookPrepared = () =>
storybookPublished({
build: {
actualCaptureCount: undefined,
Expand All @@ -15,4 +20,5 @@ export const StorybookPublished = () =>
componentCount: 5,
specCount: 8,
},
storybookUrl: 'https://5d67dc0374b2e300209c41e7-pfkaemtlit.chromatic.com/',
} as any);
10 changes: 9 additions & 1 deletion node-src/ui/tasks/upload.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ export const Starting = () => starting();

export const Uploading = () => uploading({ percentage: 42 });

export const Success = () => success({ now: 0, startedAt: -54321 } as any);
export const Success = () =>
success({
now: 0,
startedAt: -54321,
uploadedBytes: 1234567,
uploadedFiles: 42,
} as any);

export const SuccessNoFiles = () => success({} as any);

export const Failed = () => failed({ path: 'main.9e3e453142da82719bf4.bundle.js' });

0 comments on commit 87fa18c

Please sign in to comment.