Skip to content

Commit ece28cc

Browse files
committed
test: remove compatibility test
1 parent 19edddf commit ece28cc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/plugin-not-found/test/plugin-not-found.test.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { friendlyErrorPlugin } from "@clerc/plugin-friendly-error";
21
import { Cli } from "@clerc/test-utils";
32
import { beforeAll, describe, expect, it, vi } from "vitest";
43

@@ -30,20 +29,4 @@ describe("plugin-not-found", () => {
3029
.command("foo", "foo command")
3130
.parse(["fo"]);
3231
});
33-
34-
it("should work with friendly-error", () => {
35-
Cli()
36-
.use(
37-
friendlyErrorPlugin({
38-
target: (str) =>
39-
expect(str).toMatchInlineSnapshot(`
40-
"Command "fo" not found.
41-
Did you mean "foo"?"
42-
`),
43-
}),
44-
)
45-
.use(notFoundPlugin())
46-
.command("foo", "foo command")
47-
.parse(["fo"]);
48-
});
4932
});

0 commit comments

Comments
 (0)