-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add lazy fixture loader * Fix rendering * WIP: Handle both lazy and static module wrappers * Update FixtureConnect.tsx * Merge renderKey with fixture state * Create dual user deps templates * Add Vite React plugin * Add lazy config flag * Group module wrappers into union type * Fix types * Clean up unused type * Update FixtureConnect.tsx * Update FixtureConnect.tsx * Clean up types and modules * Remove duplicate code * Simplify components * Rename files * Extract common type * Reset fixture state state when fixture ID changes * Update useRendererResponse.ts * Update types.ts * Refactor renderer tests * Delete FixtureLoader folder * Simulate async communication between renderer and parent * Test: renders first named fixture * Rename renderer helper * Expand fixture names in Playground fixture list when lazy multi fixture is selected * Fix renderer header when multi fixture is selected by path * Change test names * Set lazy mode in examples * Add lazy CLI param * Fix yargs mock * Format start command * Add lazy tests * Update test.yml * Update test.yml * Update test.yml * Send lazy flag to Cypress * Rename file * Update createRendererConnectTestApi.ts * Wrap fixtures in test helper * Make tests more resilient * Update mountTestRenderer.tsx * Make renderer tests more flexible * Test lazy renderer * Add more lazy renderer tests * Update DecoratedFixture.tsx * Add new line * Update userDepsTemplate.test.ts.snap * Update test.yml * Clean up setTimeout wrap * Update getFixtureList.ts * Don’t send fixtureStateChanged response because of setFixtureStateChange request * Refactor types
- Loading branch information
Showing
141 changed files
with
2,434 additions
and
1,595 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export function exampleName() { | ||
return Cypress.env('EXAMPLE_NAME') as 'webpack' | 'vite'; | ||
} | ||
|
||
export function lazy() { | ||
return Cypress.env('LAZY') as 'true' | 'false'; | ||
} |
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
Oops, something went wrong.