From 8c4bc07f9f01538c44234c8a10f74d843290c2a9 Mon Sep 17 00:00:00 2001 From: Andrew Ortwein Date: Wed, 21 Feb 2024 19:58:09 -0500 Subject: [PATCH] Maybe it really was a flake? --- node-src/lib/checkStorybookBaseDir.ts | 5 +---- node-src/tasks/upload.test.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/node-src/lib/checkStorybookBaseDir.ts b/node-src/lib/checkStorybookBaseDir.ts index 76abbf69a..3ddbdfa12 100644 --- a/node-src/lib/checkStorybookBaseDir.ts +++ b/node-src/lib/checkStorybookBaseDir.ts @@ -6,11 +6,8 @@ import pLimit from 'p-limit'; import { exitCodes, setExitCode } from './setExitCode'; export async function checkStorybookBaseDir(ctx: Context, stats: Stats) { - ctx.log.warn('ctx.options:', ctx.options); const { storybookBaseDir } = ctx.options; - // ctx.log.debug('Storybook base directory:', storybookBaseDir); - - return; + ctx.log.debug('Storybook base directory:', storybookBaseDir); // Find all js(x)/ts(x) files in stats that are not in node_modules const sourceModuleFiles = stats.modules.filter( diff --git a/node-src/tasks/upload.test.ts b/node-src/tasks/upload.test.ts index b53961972..e9b71ecf2 100644 --- a/node-src/tasks/upload.test.ts +++ b/node-src/tasks/upload.test.ts @@ -207,7 +207,7 @@ describe('traceChangedFiles', () => { expect(getDependentStoryFiles).not.toHaveBeenCalled(); }); - it.skip('throws an error if storybookBaseDir is incorrect', async () => { + it('throws an error if storybookBaseDir is incorrect', async () => { const deps = { 123: ['./example.stories.js'] }; findChangedDependencies.mockResolvedValue([]); findChangedPackageFiles.mockResolvedValue([]);