Skip to content

Commit

Permalink
refactor(tests): adjust throw message
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Apr 12, 2024
1 parent 2e5f0f9 commit 3e76e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/node/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3e76e43

Please sign in to comment.