👷 Fix the last broken test

This commit is contained in:
Felix Rieseberg 2017-12-05 17:07:22 -08:00
parent bf043c92af
commit bd4c7a114a

View file

@ -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}`