test(transformer): skip test which uses filesystem under miri (#7874)

Miri does not support filesystem operations. Skip this test which loads snapshot from disk when running under Miri.
This commit is contained in:
overlookmotel 2024-12-14 03:16:27 +00:00
parent f39e65e722
commit e766051c2d

View file

@ -237,6 +237,7 @@ console.log(
);
}
#[cfg(not(miri))]
#[test]
fn test_sourcemap() {
let config = ReplaceGlobalDefinesConfig::new(&[