Open History to see the last commit
1import { createMountLoopSetup } from '../../harness'
2import { assertReady, readyTestId } 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 createMountLoopSetup({
12 frameworkLabel: 'React',
13 mount: mountTestApp,
14 readyTestId,
15 assertReady,
16 })
17}