Skip to content

Commit 07d59d1

Browse files
committed
Fix
1 parent 38d10a7 commit 07d59d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/release/__tests__/version.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ vi.mock('../../../code/core/src/common/src/versions', () => ({
1919
vi.mock('execa');
2020

2121
vi.mock('../../utils/workspace', () => ({
22-
getWorkspaces: vi.fn().mockResolvedValue([
22+
getCodeWorkspaces: vi.fn().mockResolvedValue([
2323
{
2424
name: '@storybook/addon-a11y',
2525
location: 'addons/a11y',

scripts/tasks/sandbox-parts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export const init: Task['run'] = async (
259259
function addEsbuildLoaderToStories(mainConfig: ConfigFile) {
260260
// NOTE: the test regexp here will apply whether the path is symlink-preserved or otherwise
261261
const require = createRequire(import.meta.url);
262-
const esbuildLoaderPath = require.resolve('../../code/node_modules/esbuild-loader');
262+
const esbuildLoaderPath = require.resolve('../../node_modules/esbuild-loader');
263263
const webpackFinalCode = `
264264
(config) => ({
265265
...config,

0 commit comments

Comments
 (0)