mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-28 02:39:31 -05:00
13 lines
421 B
TypeScript
13 lines
421 B
TypeScript
import Fixtures, { ProjectFixtureDir } from '@tooling/system-tests'
|
|
import * as FixturesScaffold from '@tooling/system-tests/lib/dep-installer'
|
|
|
|
export async function scaffoldMigrationProject (project: ProjectFixtureDir): Promise<string> {
|
|
Fixtures.removeProject(project)
|
|
|
|
await Fixtures.scaffoldProject(project)
|
|
|
|
await FixturesScaffold.scaffoldProjectNodeModules(project)
|
|
|
|
return Fixtures.projectPath(project)
|
|
}
|