Open History to see the last commit
1import { createScenarioSetup } from '../../harness'
2import { assertStepResult, stepTestIds } from '../shared'
3import type * as App from './src/main'
4β
5const appModulePath = './dist/app.js'
6const { mountTestApp } = (await import(
7 /* @vite-ignore */ appModulePath
8)) as typeof App
9β
10export function setup() {
11 return createScenarioSetup({
12 frameworkLabel: 'React',
13 mount: mountTestApp,
14 steps: stepTestIds,
15 assertAfterStep: assertStepResult,
16 })
17}