WIP: Codemods and refactorings #43133
Annotations
10 errors
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
test:
code/lib/cli-storybook/src/automigrate/helpers/mainConfigFile.ts#L148
Error: Unable to find or evaluate [object Object]: Error: [vitest] No "loadMainConfig" export is defined on the "storybook/internal/common" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
❯ getStorybookData src/automigrate/helpers/mainConfigFile.ts:148:11
❯ Module.add src/add.ts:99:5
❯ src/add.test.ts:103:5
|
Loading