generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update package.json, src/config/jest-playwright.ts, src/csf/tr…
…ansformCsf.ts, src/playwright/transformPlaywrightJson.ts, and src/typings.d.ts - Update package.json to include new dependencies or update existing ones. - Modify src/config/jest-playwright.ts to configure Jest with Playwright. - Refactor src/csf/transformCsf.ts to improve code readability and maintainability. - Update src/playwright/transformPlaywrightJson.ts to handle new Playwright JSON format. - Update src/typings.d.ts to include new type definitions or modify existing ones.
- Loading branch information
Showing
5 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import { TestHook } from './playwright/hooks'; | ||
|
||
import { type setupPage } from './setup-page'; | ||
import type { StoryContext, StoryIdentifiers } from '@storybook/csf'; | ||
declare global { | ||
var __sbPreRender: TestHook; | ||
var __sbPostRender: TestHook; | ||
var __getContext: (storyId: string) => any; | ||
var __getContext: (storyId: string) => StoryContext | StoryIdentifiers; | ||
var __sbSetupPage: typeof setupPage; | ||
var __sbCollectCoverage: boolean; | ||
} |