We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98da3e5 commit 953fb9aCopy full SHA for 953fb9a
packages/client/lib/tests/test-scenario/negative-tests.e2e.ts
@@ -0,0 +1,15 @@
1
+import assert from "assert";
2
+import { createClient } from "../../..";
3
+
4
+describe("Negative tests", () => {
5
+ it("should only be enabled with RESP3", () => {
6
+ assert.throws(
7
+ () =>
8
+ createClient({
9
+ RESP: 2,
10
+ maintPushNotifications: "enabled",
11
+ }),
12
+ "Error: Graceful Maintenance is only supported with RESP3",
13
+ );
14
+ });
15
+});
0 commit comments