Skip to content

Commit 9636be4

Browse files
committed
Test the GlobalOptions augmentation
1 parent cd1a879 commit 9636be4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import type { GlobalOptions } from "@ignored/hardhat-vnext/types/global-options";
2+
3+
import { describe, it } from "node:test";
4+
5+
import { expectTypeOf } from "expect-type";
6+
7+
describe("types/global-options", () => {
8+
describe("GlobalOptions", () => {
9+
it("should be augmented with the builtin global options", () => {
10+
expectTypeOf<GlobalOptions>().toEqualTypeOf<{
11+
configPath: string;
12+
help: boolean;
13+
init: boolean;
14+
showStackTraces: boolean;
15+
version: boolean;
16+
}>();
17+
});
18+
});
19+
});

0 commit comments

Comments
 (0)