From 42c75ecbe53d71882e77b31aaf4adf5a8f573769 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 22 Aug 2018 10:28:20 -0400 Subject: [PATCH] Pass additional options with run-package-specs message --- src/workspace-element.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workspace-element.js b/src/workspace-element.js index 5531aafdf..f94dbd6e9 100644 --- a/src/workspace-element.js +++ b/src/workspace-element.js @@ -310,7 +310,7 @@ class WorkspaceElement extends HTMLElement { } } - runPackageSpecs () { + runPackageSpecs (options = {}) { const activePaneItem = this.model.getActivePaneItem() const activePath = activePaneItem && typeof activePaneItem.getPath === 'function' ? activePaneItem.getPath() : null let projectPath @@ -326,7 +326,7 @@ class WorkspaceElement extends HTMLElement { specPath = testPath } - ipcRenderer.send('run-package-specs', specPath) + ipcRenderer.send('run-package-specs', specPath, options) } }