Skip to content

Commit 7dc1796

Browse files
test(es/ast): add missing ctxt field to jsx_element serde test (#12439)
**Description:** Add the missing `"ctxt": 0` field to the `"Identifier"` JSON payload in `swc_ecma_ast::expr::tests::jsx_element` so the test passes when running `cargo test -p swc_ecma_ast --features serde-impl --lib`. **Related issue (if exists):** N/A
1 parent 0b151bf commit 7dc1796

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/swc_ecma_ast/src/expr.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,7 @@ test_de!(
18641864
"end": 2,
18651865
"ctxt": 0
18661866
},
1867+
"ctxt": 0,
18671868
"value": "a",
18681869
"optional": false
18691870
},

0 commit comments

Comments
 (0)