Skip to content

Commit

Permalink
[TMP] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 23, 2024
1 parent 86a9129 commit d1d4871
Show file tree
Hide file tree
Showing 11 changed files with 164 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
error - [transform] [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js Error evaluating Node.js code
Error: Could not parse module '[project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js'

Expression expected
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:329:11)]
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:334:3)]
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27]
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9]
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9]
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12]
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:435:268]
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/4f837_65cc75._.js:458:3)]
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27]
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9]
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9]
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12]
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:41:286]
at asyncModule (turbopack://[turbopack]/shared/runtime-utils.ts:465:3) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:299:5]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:30:1]
[at [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:254:3)]
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27]
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9]
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9]
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12]
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20]
[at Module.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:258:251)]
[at [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js [test] (ecmascript) <module evaluation> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:263:3)]
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27]
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9]
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9]
at getOrInstantiateModuleFromParent (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:451:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:619:12]
at esmImport (turbopack://[turbopack]/shared/runtime-utils.ts:228:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:142:20]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:269:235]
at asyncModule (turbopack://[turbopack]/shared/runtime-utils.ts:465:3) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:299:5]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:267:1]
[at [project]/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/input/index.js [test] (ecmascript) <facade> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/[root of the server]__eb59da._.js:279:3)]
at turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:347:21 [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:545:27]
at runModuleExecutionHooks (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:403:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:587:9]
at instantiateModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:345:5) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:543:9]
at getOrInstantiateRuntimeModule (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:1311:10) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1279:12]
at Object.registerChunk (turbopack://[turbopack]/dev/runtime/nodejs/runtime-backend-nodejs.ts:90:11) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1475:21]
at registerChunk (turbopack://[turbopack]/dev/runtime/base/runtime-base.ts:1375:18) [WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1328:20]
[at <anonymous>]
[at WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1503:18]
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/2f2aa_tests_execution_turbopack_tree-shaking_basic_output_jest-entry_a0db1c.js:1504:3)]
[at Module._compile (node:internal/modules/cjs/loader:1256:14)]
[at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)]
[at Module.load (node:internal/modules/cjs/loader:1119:32)]
[at Module._load (node:internal/modules/cjs/loader:960:12)]
[at Module.require (node:internal/modules/cjs/loader:1143:19)]
[at require (node:internal/modules/cjs/helpers:121:18)]
[at Object.<anonymous> (WORKSPACE_ROOT/crates/turbopack-tests/tests/execution/turbopack/tree-shaking/basic/output/jest-entry.js:6:1)]
[at Module._compile (node:internal/modules/cjs/loader:1256:14)]
[at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)]
[at Module.load (node:internal/modules/cjs/loader:1119:32)]
[at Module._load (node:internal/modules/cjs/loader:960:12)]
[at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)]
[at node:internal/main/run_main_module:23:47]
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-named/x.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-named/x.js [test] (ecmascript) <module evaluation> which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/b.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/b.js [test] (ecmascript) <module evaluation> which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
error - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js /crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js:1:0 Parsing ecmascript source code failed
+ v
1 + )))
+ ^
2 |

Expression expected

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-executed.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-executed.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-star/not-compiled.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-executed.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
warning - [analysis] [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-compiled.js unexpected export *
export * used with module [project]/crates/turbopack-tests/tests/execution/turbopack/side-effects-optimization/basic/input/node_modules/package-partial/not-compiled.js [test] (ecmascript) which has no exports
Typescript only: Did you want to export only types with `export type * from "..."`?
Note: Using `export type` is more efficient than `export *` as it won't emit any runtime code.
Loading

0 comments on commit d1d4871

Please sign in to comment.