File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/zip-it-and-ship-it/tests Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2634,10 +2634,6 @@ describe('zip-it-and-ship-it', () => {
2634
2634
for ( let index = 1 ; index <= length ; index ++ ) {
2635
2635
const funcDir = unzippedFunctions [ index - 1 ] . unzipPath
2636
2636
2637
- // Writing a basic package.json with `type: "module"` just so that we can
2638
- // import the functions from the test.
2639
- await writeFile ( join ( funcDir , 'package.json' ) , JSON . stringify ( { type : 'module' } ) )
2640
-
2641
2637
const funcFile = join ( funcDir , `func${ index } .mjs` )
2642
2638
const func = await importFunctionFile ( funcFile )
2643
2639
@@ -2671,10 +2667,6 @@ describe('zip-it-and-ship-it', () => {
2671
2667
for ( let index = 1 ; index <= length ; index ++ ) {
2672
2668
const funcDir = unzippedFunctions [ index - 1 ] . unzipPath
2673
2669
2674
- // Writing a basic package.json with `type: "module"` just so that we can
2675
- // import the functions from the test.
2676
- await writeFile ( join ( funcDir , 'package.json' ) , JSON . stringify ( { type : 'module' } ) )
2677
-
2678
2670
const funcFile = join ( funcDir , `func${ index } .mjs` )
2679
2671
const func = await importFunctionFile ( funcFile )
2680
2672
You can’t perform that action at this time.
0 commit comments