From 13cc8899c65e83d2c69d7f0996b5ec801b41fb3d Mon Sep 17 00:00:00 2001 From: Beatriz Rizental Date: Wed, 8 Feb 2023 16:32:10 +0100 Subject: [PATCH] Skip on wasm the right way --- tests/functional/testAddons.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/testAddons.js b/tests/functional/testAddons.js index 60a27b68190..9ca6285ef6a 100644 --- a/tests/functional/testAddons.js +++ b/tests/functional/testAddons.js @@ -132,7 +132,7 @@ describe('Addons', function () { // This tests cannot be run in WASM due to Qt limitations. // See: https://mozilla-hub.atlassian.net/browse/VPN-4127 - if (typeof process === "object") { + if (!this.ctx.wasm) { describe('test message_subscription_expiring addon condition', async () => { const testCases = [ ...Array.from(