From 0e1d11033280ace0e1632d3062cf39f758c287b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Thu, 20 Jun 2024 13:01:23 +0900 Subject: [PATCH] Update test refs --- .../tests/tree-shaker/analyzer/1/output.md | 6 ++++++ .../tests/tree-shaker/analyzer/2/output.md | 6 ++++++ .../tests/tree-shaker/analyzer/complex/output.md | 2 ++ .../tests/tree-shaker/analyzer/test-config-1/output.md | 6 ++++++ 4 files changed, 20 insertions(+) diff --git a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/1/output.md b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/1/output.md index 5b64852df2606..7a54b1b6eeb38 100644 --- a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/1/output.md +++ b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/1/output.md @@ -289,6 +289,7 @@ graph TD Item13 -.-> Item4; Item13 -.-> Item7; Item13 -.-> Item15; + Item13 -.-> Item3; ``` # Phase 4 ```mermaid @@ -353,6 +354,7 @@ graph TD Item13 -.-> Item4; Item13 -.-> Item7; Item13 -.-> Item15; + Item13 -.-> Item3; Item14 --> Item1; Item14 --> Item9; ``` @@ -387,6 +389,7 @@ graph TD N4 --> N6; N4 --> N8; N4 --> N1; + N4 --> N5; N6 --> N5; N7 --> N5; N7 --> N6; @@ -507,6 +510,9 @@ import "__TURBOPACK_PART__" assert { import "__TURBOPACK_PART__" assert { __turbopack_part__: 1 }; +import { foobar } from "__TURBOPACK_PART__" assert { + __turbopack_part__: 5 +}; export { external2 }; function external2() { foobar += "."; diff --git a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/2/output.md b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/2/output.md index ab6b7dea87535..2b71db25b0182 100644 --- a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/2/output.md +++ b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/2/output.md @@ -307,6 +307,7 @@ graph TD Item14 -.-> Item6; Item14 -.-> Item9; Item14 -.-> Item17; + Item14 -.-> Item5; ``` # Phase 4 ```mermaid @@ -374,6 +375,7 @@ graph TD Item14 -.-> Item6; Item14 -.-> Item9; Item14 -.-> Item17; + Item14 -.-> Item5; Item15 --> Item1; Item15 --> Item2; Item15 --> Item11; @@ -409,6 +411,7 @@ graph TD N4 --> N6; N4 --> N8; N4 --> N2; + N4 --> N5; N6 --> N5; N7 --> N5; N7 --> N6; @@ -530,6 +533,9 @@ import "__TURBOPACK_PART__" assert { import "__TURBOPACK_PART__" assert { __turbopack_part__: 2 }; +import { foobar } from "__TURBOPACK_PART__" assert { + __turbopack_part__: 5 +}; export { external2 }; function external2() { foobar += "."; diff --git a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/complex/output.md b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/complex/output.md index 0a1c064b08e2b..776be54b04ccb 100644 --- a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/complex/output.md +++ b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/complex/output.md @@ -298,6 +298,7 @@ graph TD Item4 --> Item8; Item7 -.-> Item9; Item7 -.-> Item10; + Item7 -.-> Item1; Item13 --> Item11; Item13 --> Item1; Item13 --> Item2; @@ -367,6 +368,7 @@ graph TD Item4 --> Item8; Item7 -.-> Item9; Item7 -.-> Item10; + Item7 -.-> Item1; Item13 --> Item11; Item13 --> Item1; Item13 --> Item2; diff --git a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/test-config-1/output.md b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/test-config-1/output.md index 9a5ae6c22a0d1..84bf2f129876b 100644 --- a/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/test-config-1/output.md +++ b/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/test-config-1/output.md @@ -289,6 +289,7 @@ graph TD Item13 -.-> Item4; Item13 -.-> Item7; Item13 -.-> Item15; + Item13 -.-> Item3; ``` # Phase 4 ```mermaid @@ -353,6 +354,7 @@ graph TD Item13 -.-> Item4; Item13 -.-> Item7; Item13 -.-> Item15; + Item13 -.-> Item3; Item14 --> Item1; Item14 --> Item9; ``` @@ -387,6 +389,7 @@ graph TD N4 --> N6; N4 --> N8; N4 --> N1; + N4 --> N5; N6 --> N5; N7 --> N5; N7 --> N6; @@ -507,6 +510,9 @@ import "__TURBOPACK_PART__" assert { import "__TURBOPACK_PART__" assert { __turbopack_part__: 1 }; +import { foobar } from "__TURBOPACK_PART__" assert { + __turbopack_part__: 5 +}; export { external2 }; function external2() { foobar += ".";