From 374e03c4048212994020d9aad4031116d81295b6 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Tue, 11 Aug 2020 11:25:22 +0100 Subject: [PATCH] Fixed failing tests --- apps/remix-ide-e2e/src/commands/getEditorValue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/getEditorValue.ts b/apps/remix-ide-e2e/src/commands/getEditorValue.ts index bb15efc9a3..ddc7b6094e 100644 --- a/apps/remix-ide-e2e/src/commands/getEditorValue.ts +++ b/apps/remix-ide-e2e/src/commands/getEditorValue.ts @@ -10,7 +10,7 @@ class GetEditorValue extends EventEmitter { elem.editor.getValue() }, [], (result) => { done() - callback(typeof result.value === 'string' ? result.value : '') + typeof result.value === 'string' && callback(result.value) this.emit('complete') }) })