From 3e76e435a89f8ddc7010892657c3e88db1027e92 Mon Sep 17 00:00:00 2001 From: Curve Date: Fri, 12 Apr 2024 17:45:17 +0200 Subject: [PATCH] refactor(tests): adjust throw message --- tests/node/api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/node/api.test.js b/tests/node/api.test.js index 8b557f4..e2964d7 100644 --- a/tests/node/api.test.js +++ b/tests/node/api.test.js @@ -12,7 +12,7 @@ catch (error) console.warn("No PipeWire Server available"); assert(!venmic.PatchBay.hasPipeWire()); - assert.throws(() => new venmic.PatchBay(), /(failed to create patchbay)|(not running pipewire)/ig); + assert.throws(() => new venmic.PatchBay(), /failed to create patchbay/ig); process.exit(0); }