Skip to content

Commit

Permalink
test(transformer/replace-global-defines): remove panicking test
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 13, 2024
1 parent 5b7e1ad commit 73fc0e2
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,3 @@ log(__MEMBER__);
let snapshot = visualizer.into_visualizer_text();
insta::assert_snapshot!("test_sourcemap", snapshot);
}

#[test]
#[should_panic(expected = "")]
fn test_complex() {
let config = ReplaceGlobalDefinesConfig::new(&[("__DEF__", "((() => {})())")]).unwrap();
test("__DEF__", "1", config.clone());
}

0 comments on commit 73fc0e2

Please sign in to comment.