File tree 1 file changed +4
-5
lines changed
v-next/core/test/internal/tasks
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ import { describe, it } from "node:test";
3
3
4
4
import { HardhatError } from "@nomicfoundation/hardhat-errors" ;
5
5
6
- import { ParameterType } from "../../../src/config.js" ;
6
+ import { ParameterType , globalParameter } from "../../../src/config.js" ;
7
7
import { createHardhatRuntimeEnvironment } from "../../../src/index.js" ;
8
- import { buildGlobalParameterDefinition } from "../../../src/internal/global-parameters.js" ;
9
8
import {
10
9
EmptyTaskDefinitionBuilderImplementation ,
11
10
NewTaskDefinitionBuilderImplementation ,
@@ -46,7 +45,7 @@ describe("TaskManagerImplementation", () => {
46
45
. build ( ) ,
47
46
] ,
48
47
globalParameters : [
49
- buildGlobalParameterDefinition ( {
48
+ globalParameter ( {
50
49
name : "globalParam1" ,
51
50
description : "" ,
52
51
parameterType : ParameterType . STRING ,
@@ -392,7 +391,7 @@ describe("TaskManagerImplementation", () => {
392
391
{
393
392
id : "plugin2" ,
394
393
globalParameters : [
395
- buildGlobalParameterDefinition ( {
394
+ globalParameter ( {
396
395
name : "param1" ,
397
396
description : "" ,
398
397
parameterType : ParameterType . STRING ,
@@ -430,7 +429,7 @@ describe("TaskManagerImplementation", () => {
430
429
{
431
430
id : "plugin2" ,
432
431
globalParameters : [
433
- buildGlobalParameterDefinition ( {
432
+ globalParameter ( {
434
433
name : "param1" ,
435
434
description : "" ,
436
435
parameterType : ParameterType . STRING ,
You can’t perform that action at this time.
0 commit comments