Skip to content

Commit

Permalink
test: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Dec 13, 2024
1 parent 6d983ad commit d5741ff
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,10 @@ log(__MEMBER__);
let snapshot = visualizer.into_visualizer_text();
insta::assert_snapshot!("test_sourcemap", snapshot);
}

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

0 comments on commit d5741ff

Please sign in to comment.