We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93281a9 commit 3061744Copy full SHA for 3061744
v-next/core/test/internal/global-parameters.ts
@@ -0,0 +1,21 @@
1
+import { describe, it } from "node:test";
2
+import assert from "node:assert/strict";
3
+
4
+import { ParameterType } from "../../src/config.js";
5
+import { buildGlobalParameterDefinition } from "../../src/internal/global-parameters.js";
6
7
+describe("Global Parameters", () => {
8
+ describe("buildGlobalParameterDefinition", () => {
9
+ it("should build a global parameter definition", () => {
10
+ const options = {
11
+ name: "foo",
12
+ description: "Foo description",
13
+ parameterType: ParameterType.STRING,
14
+ defaultValue: "bar",
15
+ };
16
+ const globalParameter = buildGlobalParameterDefinition(options);
17
18
+ assert.deepEqual(globalParameter, options);
19
+ });
20
21
+});
0 commit comments