Skip to content

Commit

Permalink
Updated the story file with a better root
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed May 27, 2023
1 parent 4f17f79 commit bb9e8c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin-src/ui/messages/info/tracedAffectedFiles.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default {
title: 'CLI/Messages/Info',
};

const rootPath = './chromatic-cli';
const tracedPaths = [
'src/app/dashboard/index.ts + 3 modules\nsrc/app/settings/Settings.stories.tsx + 2 modules',
'src/app/dashboard/index.ts + 3 modules\nsrc/app/payment/Payment.stories.tsx',
Expand Down Expand Up @@ -74,7 +75,7 @@ export const TracedAffectedFilesExpanded = () =>
tracedAffectedFiles(
{
options: { traceChanged: 'expanded' },
turboSnap: { tracedPaths: new Set(tracedPaths) },
turboSnap: { rootPath, tracedPaths: new Set(tracedPaths) },
} as any,
{
changedFiles: ['src/app/dashboard/index.ts'],
Expand Down

0 comments on commit bb9e8c6

Please sign in to comment.