From e70d11da0b00465dbc8a6d2107ba7f0feb26d77e Mon Sep 17 00:00:00 2001 From: Michel Kaporin Date: Wed, 31 May 2017 09:38:24 +0200 Subject: [PATCH] Triple equals for keybinding find. --- test/smoke/src/spectron/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/src/spectron/application.ts b/test/smoke/src/spectron/application.ts index 0c8896bcc8d..4d64259ae17 100644 --- a/test/smoke/src/spectron/application.ts +++ b/test/smoke/src/spectron/application.ts @@ -134,7 +134,7 @@ export class SpectronApplication { * @param command command (e.g. 'workbench.action.files.newUntitledFile') */ public command(command: string, capture?: boolean): Promise { - const binding = this.keybindings.find(x => x['command'] == command); + const binding = this.keybindings.find(x => x['command'] === command); const keys: string = binding.key; let keysToPress: string[] = [];