Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Restore lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser authored Nov 9, 2022
1 parent 9927363 commit 806a4d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/rome_js_analyze/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ mod tests {
String::from_utf8(buffer).unwrap()
}

const SOURCE: &str = r#"React.createElement("div", { tabIndex: '1' })
React.createElement("div", { tabIndex: 1 })
React.createElement("div", { tabIndex: +1 })"#;
const SOURCE: &str = r#"<img src="image.png" aria-label="alt text" />
"#;

let parsed = parse(SOURCE, FileId::zero(), SourceType::jsx());

Expand Down

0 comments on commit 806a4d9

Please sign in to comment.