mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 09:35:37 -05:00
Cleanup generated test files and folders for Sql DB projects (#20862)
* Cleanup generated test files and folders * Add await to fix tests
This commit is contained in:
@@ -11,7 +11,7 @@ import * as vscode from 'vscode';
|
||||
import * as sinon from 'sinon';
|
||||
import { NetCoreTool, DBProjectConfigurationKey, DotnetInstallLocationKey } from '../tools/netcoreTool';
|
||||
import { getQuotedPath } from '../common/utils';
|
||||
import { generateTestFolderPath } from './testUtils';
|
||||
import { deleteGeneratedTestFolder, generateTestFolderPath } from './testUtils';
|
||||
import { createContext, TestContext } from './testContext';
|
||||
|
||||
let testContext: TestContext;
|
||||
@@ -25,6 +25,10 @@ describe('NetCoreTool: Net core tests', function (): void {
|
||||
testContext = createContext();
|
||||
});
|
||||
|
||||
after(async function(): Promise<void> {
|
||||
await deleteGeneratedTestFolder();
|
||||
});
|
||||
|
||||
it('Should override dotnet default value with settings', async function (): Promise<void> {
|
||||
try {
|
||||
// update settings and validate
|
||||
|
||||
Reference in New Issue
Block a user