File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ import * as assert from "assert";
2
2
import { extensions , commands } from "vscode" ;
3
3
4
4
suite ( "activate" , ( ) => {
5
- test ( "Should activate extension successfully" , async ( ) => {
5
+ test ( "Should activate extension successfully" , async function ( ) {
6
+ this . timeout ( 10000 ) ;
7
+
6
8
const ext = extensions . getExtension (
7
- "gitguardian-secret-security.gitguardian"
9
+ "gitguardian-secret-security.gitguardian" ,
8
10
) ;
9
11
await ext ?. activate ( ) ;
10
12
assert . ok ( ext ?. isActive , "Extension should be active" ) ;
@@ -25,13 +27,13 @@ suite("activate", () => {
25
27
26
28
const registered = await commands . getCommands ( true ) ;
27
29
const gitguardianCommands = registered . filter ( ( command ) =>
28
- command . startsWith ( "gitguardian" )
30
+ command . startsWith ( "gitguardian" ) ,
29
31
) ;
30
32
31
33
for ( const command of commandIds ) {
32
34
assert . ok (
33
35
gitguardianCommands . includes ( command ) ,
34
- `Command ${ command } should be registered`
36
+ `Command ${ command } should be registered` ,
35
37
) ;
36
38
}
37
39
} ) ;
You can’t perform that action at this time.
0 commit comments