From 5b44bd3f5ce9b46f35414754de2d97db730c4a2a Mon Sep 17 00:00:00 2001 From: Lawrence Forooghian Date: Mon, 20 May 2024 15:26:40 -0300 Subject: [PATCH] Revert "whats the error" This reverts commit 1e761cc6d24d07c4be4a7317e42aef9e5720a280. --- test/browser/modular.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/browser/modular.test.js b/test/browser/modular.test.js index 5ae90164e..b56d566b3 100644 --- a/test/browser/modular.test.js +++ b/test/browser/modular.test.js @@ -64,14 +64,14 @@ function registerAblyModularTests(helper) { ablyClientOptions({ ...scenario.getAdditionalClientOptions?.(), plugins: { FetchRequest } }), ); - //let thrownError = null; - //try { + let thrownError = null; + try { await scenario.action(client); - //} catch (error) { - //thrownError = error; - //} + } catch (error) { + thrownError = error; + } - //expect(thrownError).to.be.null; + expect(thrownError).to.be.null; }); } });