mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -05:00
Aligns how Import and New project flows work (#11184)
* Slight import refactor * Test updates * Adds test, sets script name for File extractType to projectName * generating correct folder list * Correctly setting serverId for Imports started from Object Explorer * Adding regression test * uncommented test check
This commit is contained in:
@@ -32,10 +32,7 @@ export async function createTestSqlProjFile(contents: string, folderPath?: strin
|
||||
}
|
||||
|
||||
export async function createTestProject(contents: string, folderPath?: string): Promise<Project> {
|
||||
const proj = new Project(await createTestSqlProjFile(contents, folderPath));
|
||||
await proj.readProjFile();
|
||||
|
||||
return proj;
|
||||
return await Project.openProject(await createTestSqlProjFile(contents, folderPath));
|
||||
}
|
||||
|
||||
export async function createTestDataSources(contents: string, folderPath?: string): Promise<string> {
|
||||
|
||||
Reference in New Issue
Block a user