From e70bbbda529053302e2a4b9301f72a69b3aa0909 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Thu, 5 Sep 2024 18:04:08 -0400 Subject: [PATCH] chore(storybook): update snapshots --- .../nx/src/utils/collapse-expanded-outputs.spec.ts | 4 ++-- .../convert-to-inferred/convert-to-inferred.spec.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/nx/src/utils/collapse-expanded-outputs.spec.ts b/packages/nx/src/utils/collapse-expanded-outputs.spec.ts index a0ef185527473..45267e2b98aca 100644 --- a/packages/nx/src/utils/collapse-expanded-outputs.spec.ts +++ b/packages/nx/src/utils/collapse-expanded-outputs.spec.ts @@ -89,10 +89,10 @@ describe('collapseExpandedOutputs', () => { it('should collapse long lists of files in nested directories', async () => { const outputs = []; // Create dist/apps/app1/n/m.js + dist/apps/app1/n/m.d.ts - for (let i = 0; i < 6; i++) { + for (let i = 0; i < 6000; i++) { outputs.push(`dist/apps/app1/${i}.js`); outputs.push(`dist/apps/app1/${i}.d.ts`); - for (let j = 0; j < 6; j++) { + for (let j = 0; j < 600; j++) { outputs.push(`dist/apps/app1/${i}/${j}.js`); outputs.push(`dist/apps/app1/${i}/${j}.d.ts`); } diff --git a/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.spec.ts b/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.spec.ts index 88009f5474dee..46f21b380b451 100644 --- a/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.spec.ts +++ b/packages/storybook/src/generators/convert-to-inferred/convert-to-inferred.spec.ts @@ -236,7 +236,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}", @@ -312,7 +312,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}", @@ -387,7 +387,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}", @@ -446,7 +446,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}", @@ -565,7 +565,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}", @@ -597,7 +597,7 @@ describe('Storybook - Convert To Inferred', () => { }, "outputs": [ "{projectRoot}/{options.output-dir}", - "{workspaceRoot}/{projectRoot}/storybook-static", + "{projectRoot}/storybook-static", "{options.output-dir}", "{options.outputDir}", "{options.o}",