Skip to content

Commit bd4c7a1

Browse files
👷 Fix the last broken test
1 parent bf043c9 commit bd4c7a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/api-app-spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,9 @@ describe('app module', () => {
521521
})
522522

523523
after(function (done) {
524-
if (process.platform === 'win32') {
524+
if (process.platform !== 'win32') {
525+
done()
526+
} else {
525527
const protocolKey = new Winreg({
526528
hive: Winreg.HKCU,
527529
key: `\\Software\\Classes\\${protocol}`

0 commit comments

Comments
 (0)