Skip to content

Commit

Permalink
fix usage of new core event not being present pre 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Oct 31, 2024
1 parent 26e1fb9 commit 173fb39
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import { readFile } from "node:fs/promises";
import { normalize, relative } from "node:path";

import type { Channel } from "@storybook/channels";
import {
TESTING_MODULE_PROGRESS_REPORT,
TestingModuleProgressReportProgress,
} from "@storybook/core-events";
import type { TestingModuleProgressReportProgress } from "@storybook/core-events";
import { telemetry } from "@storybook/telemetry";
import type { Options } from "@storybook/types";
// eslint-disable-next-line import/no-unresolved
Expand All @@ -27,6 +24,7 @@ import {
STOP_BUILD,
TELEMETRY,
TEST_PROVIDER_ID,
TESTING_MODULE_PROGRESS_REPORT,
} from "./constants";
import { runChromaticBuild, stopChromaticBuild } from "./runChromaticBuild";
import {
Expand Down

0 comments on commit 173fb39

Please sign in to comment.