Removed compact command changes from elsewhere
This commit is contained in:
@@ -17,7 +17,6 @@ describe("commands registry", () => {
|
||||
const specs = listNativeCommandSpecs();
|
||||
expect(specs.find((spec) => spec.name === "help")).toBeTruthy();
|
||||
expect(specs.find((spec) => spec.name === "stop")).toBeTruthy();
|
||||
expect(specs.find((spec) => spec.name === "compact")).toBeFalsy();
|
||||
});
|
||||
|
||||
it("detects known text commands", () => {
|
||||
@@ -26,8 +25,6 @@ describe("commands registry", () => {
|
||||
expect(detection.exact.has("/commands")).toBe(true);
|
||||
expect(detection.regex.test("/status")).toBe(true);
|
||||
expect(detection.regex.test("/status:")).toBe(true);
|
||||
expect(detection.regex.test("/compact")).toBe(true);
|
||||
expect(detection.regex.test("/compact:")).toBe(true);
|
||||
expect(detection.regex.test("/stop")).toBe(true);
|
||||
expect(detection.regex.test("/send:")).toBe(true);
|
||||
expect(detection.regex.test("try /status")).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user