From bd4c7a114a72427f850944a10f883201f2fe07d5 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Tue, 5 Dec 2017 17:07:22 -0800 Subject: [PATCH] :construction_worker: Fix the last broken test --- spec/api-app-spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index 2975bac48846..8d471f351281 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -521,7 +521,9 @@ describe('app module', () => { }) after(function (done) { - if (process.platform === 'win32') { + if (process.platform !== 'win32') { + done() + } else { const protocolKey = new Winreg({ hive: Winreg.HKCU, key: `\\Software\\Classes\\${protocol}`