mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -05:00
Add compile options to a few extensions (#8252)
* add compile options to a few extensions * move dep to dev dep * fix return types
This commit is contained in:
@@ -2,16 +2,13 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import * as should from 'should';
|
||||
import * as TypeMoq from 'typemoq';
|
||||
import 'mocha';
|
||||
import * as azdata from 'azdata';
|
||||
import { JobData } from '../../data/jobData';
|
||||
|
||||
const testOwnerUri = 'agent://testuri';
|
||||
let mockJobData: TypeMoq.IMock<JobData>;
|
||||
let mockAgentService: TypeMoq.IMock<azdata.AgentServicesProvider>;
|
||||
|
||||
describe('Agent extension create job objects', function (): void {
|
||||
@@ -37,7 +34,6 @@ describe('Agent extension create job objects', function (): void {
|
||||
should.strictEqual(createJobResult, undefined);
|
||||
createJobResult = mockAgentService.object.createJob(testOwnerUri, TypeMoq.It.isAny());
|
||||
should.notEqual(createJobResult, undefined);
|
||||
mockJobData = TypeMoq.Mock.ofType<JobData>(JobData, TypeMoq.MockBehavior.Loose, false, [TypeMoq.It.isAnyString(), undefined, mockAgentService]);
|
||||
});
|
||||
|
||||
it('Create Alert Data', async () => {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import 'mocha';
|
||||
import * as should from 'should';
|
||||
|
||||
Reference in New Issue
Block a user