@@ -28,8 +28,8 @@ type SetupOptions = {
2828 /** @default false */
2929 clean ?: boolean ;
3030} ;
31- /** @deprecated Internal helper used by `createSetupTest` - will be removed from public API in a future version. */
32- export function setup ( { cwd, clean = false , variants } : SetupOptions ) : { templatesDir : string } {
31+
32+ function setup ( { cwd, clean = false , variants } : SetupOptions ) : { templatesDir : string } {
3333 const workingDir = path . resolve ( cwd ) ;
3434 if ( clean && fs . existsSync ( workingDir ) ) {
3535 fs . rmSync ( workingDir , { force : true , recursive : true } ) ;
@@ -59,8 +59,8 @@ export function setup({ cwd, clean = false, variants }: SetupOptions): { templat
5959}
6060
6161type CreateOptions = { cwd : string ; testName : string ; templatesDir : string } ;
62- /** @deprecated Internal helper used by `createSetupTest` - will be removed from public API in a future version. */
63- export function createProject ( { cwd, testName, templatesDir } : CreateOptions ) : CreateProject {
62+
63+ function createProject ( { cwd, testName, templatesDir } : CreateOptions ) : CreateProject {
6464 // create the reference dir
6565 const testDir = path . resolve ( cwd , testName ) ;
6666 fs . mkdirSync ( testDir , { recursive : true } ) ;
@@ -76,8 +76,8 @@ export function createProject({ cwd, testName, templatesDir }: CreateOptions): C
7676}
7777
7878type PreviewOptions = { cwd : string ; command ?: string } ;
79- /** @deprecated Internal helper used by `prepareServer` - will be removed from public API in a future version. */
80- export async function startPreview ( {
79+
80+ async function startPreview ( {
8181 cwd,
8282 command = 'npm run preview'
8383} : PreviewOptions ) : Promise < { url : string ; close : ( ) => Promise < void > } > {
0 commit comments