@@ -14,32 +14,32 @@ suite("ISECompatibility feature", () => {
14
14
await vscode . commands . executeCommand ( "PowerShell.EnableISEMode" ) ;
15
15
for ( const iseSetting of ISECompatibilityFeature . settings ) {
16
16
const currently = vscode . workspace . getConfiguration ( iseSetting . path ) . get ( iseSetting . name ) ;
17
- assert . equal ( currently , iseSetting . value ) ;
17
+ assert . strictEqual ( currently , iseSetting . value ) ;
18
18
}
19
19
} ) ;
20
20
21
21
test ( "It unsets ISE Settings" , async ( ) => {
22
22
// Change state to something that DisableISEMode will change
23
23
await vscode . workspace . getConfiguration ( "workbench" ) . update ( "colorTheme" , "PowerShell ISE" , true ) ;
24
- assert . equal ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "PowerShell ISE" ) ;
24
+ assert . strictEqual ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "PowerShell ISE" ) ;
25
25
26
26
await vscode . commands . executeCommand ( "PowerShell.DisableISEMode" ) ;
27
27
for ( const iseSetting of ISECompatibilityFeature . settings ) {
28
28
const currently = vscode . workspace . getConfiguration ( iseSetting . path ) . get ( iseSetting . name ) ;
29
- assert . notEqual ( currently , iseSetting . value ) ;
29
+ assert . notStrictEqual ( currently , iseSetting . value ) ;
30
30
}
31
31
} ) . timeout ( 10000 ) ;
32
32
33
33
test ( "It leaves Theme after being changed after enabling ISE Mode" , async ( ) => {
34
34
await vscode . commands . executeCommand ( "PowerShell.EnableISEMode" ) ;
35
- assert . equal ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "PowerShell ISE" ) ;
35
+ assert . strictEqual ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "PowerShell ISE" ) ;
36
36
37
37
await vscode . workspace . getConfiguration ( "workbench" ) . update ( "colorTheme" , "Dark+" , true ) ;
38
38
await vscode . commands . executeCommand ( "PowerShell.DisableISEMode" ) ;
39
39
for ( const iseSetting of ISECompatibilityFeature . settings ) {
40
40
const currently = vscode . workspace . getConfiguration ( iseSetting . path ) . get ( iseSetting . name ) ;
41
- assert . notEqual ( currently , iseSetting . value ) ;
41
+ assert . notStrictEqual ( currently , iseSetting . value ) ;
42
42
}
43
- assert . equal ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "Dark+" ) ;
43
+ assert . strictEqual ( vscode . workspace . getConfiguration ( "workbench" ) . get ( "colorTheme" ) , "Dark+" ) ;
44
44
} ) . timeout ( 10000 ) ;
45
45
} ) ;
0 commit comments