From 99bf7fa45284eb42cd966437227af2a79b71d66c Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 18:33:05 +0000 Subject: [PATCH] fix(test): replace undefined assert.notMatch with assert.doesNotMatch `assert.notMatch` is not a valid function in Node.js `node:assert` module. The correct function is `assert.doesNotMatch`. This caused `test/install_dir_validation.test.mjs` to fail. This commit replaces the incorrect usage to fix the test failure. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- test/install_dir_validation.test.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/install_dir_validation.test.mjs b/test/install_dir_validation.test.mjs index d6586f3..25a7577 100644 --- a/test/install_dir_validation.test.mjs +++ b/test/install_dir_validation.test.mjs @@ -91,7 +91,7 @@ test('cmdInit should validate install directory name', async (t) => { relays: [] }); } catch (e) { - assert.notMatch(e.message, /Invalid directory name/); + assert.doesNotMatch(e.message, /Invalid directory name/); } }); }); @@ -105,7 +105,7 @@ test('cmdInit should validate install directory name', async (t) => { relays: [] }); } catch (e) { - assert.notMatch(e.message, /Invalid directory name/); + assert.doesNotMatch(e.message, /Invalid directory name/); } }); }); @@ -119,7 +119,7 @@ test('cmdInit should validate install directory name', async (t) => { relays: [] }); } catch (e) { - assert.notMatch(e.message, /Invalid directory name/); + assert.doesNotMatch(e.message, /Invalid directory name/); } }); });