From cb117a743167e8f1483bc28e5ce9e01d902d04c0 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, 4 Jul 2024 21:54:39 +0900 Subject: [PATCH] Update test refs --- .../comment_interning/interface.output.json | 85 +++++++++++++++++++ .../interfaces/migrated_0004.output.json | 19 +++++ 2 files changed, 104 insertions(+) create mode 100644 crates/swc_ecma_parser/tests/flow/comment_interning/interface.output.json create mode 100644 crates/swc_ecma_parser/tests/flow/types/interfaces/migrated_0004.output.json diff --git a/crates/swc_ecma_parser/tests/flow/comment_interning/interface.output.json b/crates/swc_ecma_parser/tests/flow/comment_interning/interface.output.json new file mode 100644 index 0000000000000..3558b2b737e6b --- /dev/null +++ b/crates/swc_ecma_parser/tests/flow/comment_interning/interface.output.json @@ -0,0 +1,85 @@ +{ + "type": "Script", + "span": { + "start": 23, + "end": 579, + "ctxt": 0 + }, + "body": [ + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "BlockStatement", + "span": { + "start": 266, + "end": 363, + "ctxt": 0 + }, + "stmts": [ + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + } + ] + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + }, + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + } + ], + "interpreter": null +} diff --git a/crates/swc_ecma_parser/tests/flow/types/interfaces/migrated_0004.output.json b/crates/swc_ecma_parser/tests/flow/types/interfaces/migrated_0004.output.json new file mode 100644 index 0000000000000..de8e2967e5a12 --- /dev/null +++ b/crates/swc_ecma_parser/tests/flow/types/interfaces/migrated_0004.output.json @@ -0,0 +1,19 @@ +{ + "type": "Script", + "span": { + "start": 1, + "end": 28, + "ctxt": 0 + }, + "body": [ + { + "type": "EmptyStatement", + "span": { + "start": 0, + "end": 0, + "ctxt": 0 + } + } + ], + "interpreter": null +}