-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
…n; upgrade dependencies; use Vitest browser mode for UI tests rather than JSDOM. (#421) * Handle wrapping PromptComponent objects with React components in the comonent itself, rather than in the form mechanics. * Fix circular imports * Update dependencies * More dep updates and temporarily comment out server tests from Vitest root workspace. These tests pass when run directly via the server package. * Switch back to eslint 8 * Remove inline debug plugin * In-progress for sharing * Fixing issues with child rendering * Starting work to use Vitest Browser Mode with Storybook * Storybook tests working via Vitest browser mode * Replace design package's test:ci script with usage of the root Vitest workspace * Remove debug logging * Remove describeStories test helper from design package. * Remove jsdom from the design package, and get the DnD test working with the current version of the code. * Remove "pnpm --filter @atj/design test:ci" from root test:ci, since the Vitest workspace covers these tests now. * Remove old commented-out PatternComponent defn * Remove debug comments * Remove debug log
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v20.18.0 | ||
v22.12.0 |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import React from 'react'; | ||
import { type PatternComponent } from '../../index.js'; | ||
import { renderPromptComponents } from '../../form-common.js'; | ||
|
||
import { type PatternComponent } from '../../../Form/index.js'; | ||
|
||
const Sequence: PatternComponent = ({ children }) => { | ||
return <>{children}</>; | ||
const Sequence: PatternComponent = props => { | ||
return renderPromptComponents(props.context, props.childComponents); | ||
}; | ||
|
||
export default Sequence; |
This file was deleted.