Again fix /give test
This commit is contained in:
@@ -124,7 +124,7 @@ Deno.test("/give suggests item ids as they're typed", async () => {
|
|||||||
return take(1).find((m) => m.type === "suggestions");
|
return take(1).find((m) => m.type === "suggestions");
|
||||||
};
|
};
|
||||||
|
|
||||||
const carrots = suggest("/give car");
|
const carrots = suggest("/give carr");
|
||||||
assertEquals(carrots.id, 3);
|
assertEquals(carrots.id, 3);
|
||||||
assertEquals(carrots.start, 6);
|
assertEquals(carrots.start, 6);
|
||||||
// just the ids
|
// just the ids
|
||||||
|
|||||||
Reference in New Issue
Block a user