storybook 9.1.0-alpha.9 → 9.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11818,9 +11818,8 @@ import { lighten as I3, styled as z3 } from "storybook/theming";
11818
11818
  function Sf() {
11819
11819
  try {
11820
11820
  return (
11821
- // @ts-expect-error this property exists in certain environments
11822
- !!globalThis.__vitest_browser__ || // @ts-expect-error this property exists in certain environments
11823
- !!globalThis.__playwright__binding__
11821
+ // @ts-expect-error This property exists in Vitest browser mode
11822
+ !!globalThis.__vitest_browser__ || !!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)
11824
11823
  );
11825
11824
  } catch {
11826
11825
  return !1;