@@ -34,7 +34,6 @@ const makeScripts = ({
3434 await execa ( 'nyc' , [ 'tc' , `test${ suffix } ` , ...args ] , {
3535 env : {
3636 ...env ,
37- JCOREIO_TOOLCHAIN_TEST : '1' ,
3837 JCOREIO_TOOLCHAIN_COVERAGE : '1' ,
3938 } ,
4039 } )
@@ -53,7 +52,6 @@ const makeScripts = ({
5352 await execa ( 'nyc' , [ 'tc' , name , ...args ] , {
5453 env : {
5554 ...env ,
56- JCOREIO_TOOLCHAIN_TEST : '1' ,
5755 JCOREIO_TOOLCHAIN_COVERAGE : '1' ,
5856 } ,
5957 } )
@@ -116,7 +114,11 @@ module.exports = [
116114 makeScripts ( {
117115 env :
118116 toolchainConfig . outputCjs === false ?
119- { ...process . env , JCOREIO_TOOLCHAIN_ESM : '1' }
117+ {
118+ ...process . env ,
119+ JCOREIO_TOOLCHAIN_TEST : '1' ,
120+ JCOREIO_TOOLCHAIN_ESM : '1' ,
121+ }
120122 : undefined ,
121123 } ) ,
122124]
133135 descriptionSuffix : ' in CJS mode' ,
134136 env : {
135137 ...process . env ,
138+ JCOREIO_TOOLCHAIN_TEST : '1' ,
136139 JCOREIO_TOOLCHAIN_CJS : '1' ,
137140 } ,
138141 } ) ,
141144 descriptionSuffix : ' in ESM mode' ,
142145 env : {
143146 ...process . env ,
147+ JCOREIO_TOOLCHAIN_TEST : '1' ,
144148 JCOREIO_TOOLCHAIN_ESM : '1' ,
145149 } ,
146150 } ) ,
0 commit comments