Skip to content

Commit

Permalink
Fix story data
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Dec 17, 2023
1 parent 55dbdb2 commit b80c2e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion node-src/ui/tasks/upload.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ export const SuccessSkippedFiles = () =>
fileInfo: { paths: { length: 100 } },
} as any);

export const SuccessNoFiles = () => success({} as any);
export const SuccessNoFiles = () =>
success({
uploadedBytes: 0,
uploadedFiles: 0,
fileInfo: { paths: { length: 100 } },
} as any);

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

0 comments on commit b80c2e0

Please sign in to comment.