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 ea2ffbd commit fa523f4Copy full SHA for fa523f4
utils_test.ts
@@ -1,6 +1,7 @@
1
import {
2
applyPrecondition,
3
ascendPreconditionHeader,
4
+ hasToken,
5
type Ord,
6
toPriority,
7
withoutConditionHeaders,
@@ -189,3 +190,9 @@ describe("withoutConditionHeaders", () => {
189
190
);
191
});
192
193
+
194
+describe("hasToken", () => {
195
+ it("should return false if the input is invalid syntax", () => {
196
+ assert(!hasToken("", "none"));
197
+ });
198
+});
0 commit comments