@@ -13,7 +13,7 @@ import { PhasedOperationPlugin } from '../PhasedOperationPlugin';
1313import { ShellOperationRunnerPlugin } from '../ShellOperationRunnerPlugin' ;
1414import {
1515 IgnoredParametersPlugin ,
16- RUSHSTACK_OPERATION_IGNORED_PARAMETERS_ENV_VAR
16+ RUSHSTACK_CLI_IGNORED_PARAMETER_NAMES_ENV_VAR
1717} from '../IgnoredParametersPlugin' ;
1818import {
1919 type ICreateOperationsContext ,
@@ -99,7 +99,7 @@ describe(IgnoredParametersPlugin.name, () => {
9999 const envA : IEnvironment = hooks . createEnvironmentForOperation . call ( { ...process . env } , mockRecordA ) ;
100100
101101 // Verify the environment variable is set correctly for project 'a'
102- expect ( envA [ RUSHSTACK_OPERATION_IGNORED_PARAMETERS_ENV_VAR ] ) . toBe ( '--production' ) ;
102+ expect ( envA [ RUSHSTACK_CLI_IGNORED_PARAMETER_NAMES_ENV_VAR ] ) . toBe ( '--production' ) ;
103103
104104 // Test project 'b' which has parameterNamesToIgnore: ["--verbose", "--config", "--mode", "--tags"]
105105 const operationB = Array . from ( operations ) . find ( ( op ) => op . name === 'b' ) ;
@@ -110,7 +110,7 @@ describe(IgnoredParametersPlugin.name, () => {
110110 const envB : IEnvironment = hooks . createEnvironmentForOperation . call ( { ...process . env } , mockRecordB ) ;
111111
112112 // Verify the environment variable is set correctly for project 'b'
113- expect ( envB [ RUSHSTACK_OPERATION_IGNORED_PARAMETERS_ENV_VAR ] ) . toBe ( '--verbose,--config,--mode,--tags' ) ;
113+ expect ( envB [ RUSHSTACK_CLI_IGNORED_PARAMETER_NAMES_ENV_VAR ] ) . toBe ( '--verbose,--config,--mode,--tags' ) ;
114114 } ) ;
115115
116116 it ( 'should not set environment variable when parameterNamesToIgnore is not specified' , async ( ) => {
@@ -166,6 +166,6 @@ describe(IgnoredParametersPlugin.name, () => {
166166 const env : IEnvironment = hooks . createEnvironmentForOperation . call ( { ...process . env } , mockRecord ) ;
167167
168168 // Verify the environment variable is not set
169- expect ( env [ RUSHSTACK_OPERATION_IGNORED_PARAMETERS_ENV_VAR ] ) . toBeUndefined ( ) ;
169+ expect ( env [ RUSHSTACK_CLI_IGNORED_PARAMETER_NAMES_ENV_VAR ] ) . toBeUndefined ( ) ;
170170 } ) ;
171171} ) ;
0 commit comments