forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaaFirstTest.test.ts
More file actions
21 lines (18 loc) · 784 Bytes
/
aaFirstTest.test.ts
File metadata and controls
21 lines (18 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { activated } from '../../client/extension';
import { initialize } from '../initialize';
// NOTE:
// We need this to be run first, as this ensures the extension activates.
// Sometimes it can take more than 25 seconds to complete (as the extension looks for interpeters, and the like).
// So lets wait for a max of 1 minute for the extension to activate (note, subsequent load times are faster).
suite('Activate Extension', () => {
suiteSetup(async function () {
// tslint:disable-next-line:no-invalid-this
this.timeout(60000);
await initialize();
});
test('Python extension has activated', async () => {
await activated;
});
});