File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 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";
22import { extensions , commands } from "vscode" ;
33
44suite ( "activate" , ( ) => {
5- test ( "Should activate extension successfully" , async ( ) => {
5+ test ( "Should activate extension successfully" , async function ( ) {
6+ this . timeout ( 10000 ) ;
7+
68 const ext = extensions . getExtension (
7- "gitguardian-secret-security.gitguardian"
9+ "gitguardian-secret-security.gitguardian" ,
810 ) ;
911 await ext ?. activate ( ) ;
1012 assert . ok ( ext ?. isActive , "Extension should be active" ) ;
@@ -25,13 +27,13 @@ suite("activate", () => {
2527
2628 const registered = await commands . getCommands ( true ) ;
2729 const gitguardianCommands = registered . filter ( ( command ) =>
28- command . startsWith ( "gitguardian" )
30+ command . startsWith ( "gitguardian" ) ,
2931 ) ;
3032
3133 for ( const command of commandIds ) {
3234 assert . ok (
3335 gitguardianCommands . includes ( command ) ,
34- `Command ${ command } should be registered`
36+ `Command ${ command } should be registered` ,
3537 ) ;
3638 }
3739 } ) ;
You can’t perform that action at this time.
0 commit comments