Skip to content

Commit 9e2856b

Browse files
committed
test(transformer): drop JSX text from the decorator lookalike test comment
The lookalike source has no JSX.
1 parent dd48710 commit 9e2856b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎crates/oxc_transformer/tests/integrations/es_target.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ fn standard_decorators_follow_target() {
145145
#[test]
146146
fn standard_decorators_skip_sources_without_decorator_syntax() {
147147
// Without decorators or `accessor` properties, decorator lowering is skipped: output matches
148-
// an explicit opt-out, also when `@` and `accessor` appear in comments, strings, templates,
149-
// JSX text or identifiers.
148+
// an explicit opt-out, also when `@` and `accessor` appear in comments, strings, templates
149+
// or identifiers.
150150
let plain = "for (let i = 0; i < 2; i++) list.push(class { static x = i; #y = 1; static { effect(this); } get y() { return this.#y; } });\nclass Plain { value = 1; static #count = 0; static next() { return ++Plain.#count; } }\n";
151151
let lookalikes = "/** @internal */ import x from '@scope/pkg'; const css = `@media print {}`; const email = 'a@b.c'; let accessor = 1; const getAccessor = () => accessor;\n";
152152
for target in ["es2015", "es2022", "chrome94", "safari15"] {

‎tasks/transform_conformance/snapshots/oxc_exec.snap.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ commit: 51225612
22

33
node: v26.12.1
44

5-
Passed: 452 of 454 (99.56%)
5+
Passed: 454 of 456 (99.56%)
66

77
Failures:
88

0 commit comments

Comments
 (0)