Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions packages/client/lib/tests/test-scenario/negative-tests.e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import assert from "assert";
import { createClient } from "../../..";

describe("Negative tests", () => {
it("should only be enabled with RESP3", () => {
assert.throws(
() =>
createClient({
RESP: 2,
maintPushNotifications: "enabled",
}),
"Error: Graceful Maintenance is only supported with RESP3",
);
});
});