Skip to content

Commit

Permalink
Added guard for 2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Mar 1, 2024
1 parent 94734e1 commit cd60b32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jetstream/tests/jsm_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2734,6 +2734,9 @@ Deno.test("jsm - api check ok", async () => {

Deno.test("jsm - consumer create paused", async () => {
const { ns, nc } = await setup(jetstreamServerConf());
if (await notCompatible(ns, nc, "2.11.0")) {
return;
}

const jsm = await nc.jetstreamManager();
jsm.streams.add({
Expand Down

0 comments on commit cd60b32

Please sign in to comment.