Final ADS-side hookup for sqlcmd vars (#10815)

* Adding reading SqlCmdVars from project file

* organized apiWrapper, added calls

* Adding test to confirm deployment/script gen profiles with sqlcmd vars
This commit is contained in:
Benjin Dubishar
2020-06-12 19:49:28 -07:00
committed by GitHub
parent 26a00696d4
commit ddb210e971
9 changed files with 212 additions and 76 deletions

View File

@@ -32,7 +32,10 @@ export async function createTestSqlProjFile(contents: string, folderPath?: strin
}
export async function createTestProject(contents: string, folderPath?: string): Promise<Project> {
return new Project(await createTestSqlProjFile(contents, folderPath));
const proj = new Project(await createTestSqlProjFile(contents, folderPath));
await proj.readProjFile();
return proj;
}
export async function createTestDataSources(contents: string, folderPath?: string): Promise<string> {