From 693a45c3fd700bb48f9dc93829416aebb4e4d343 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 19 Sep 2019 09:56:13 +1000 Subject: Utilise internal names for snapshot bundles (#2973) --- cli/source_maps.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/source_maps.rs b/cli/source_maps.rs index b3b8d7e56..b2943cddb 100644 --- a/cli/source_maps.rs +++ b/cli/source_maps.rs @@ -407,7 +407,7 @@ mod tests { assert_eq!(actual.message, "TypeError: baz"); // Because this is accessing the live bundle, this test might be more fragile assert_eq!(actual.frames.len(), 1); - assert!(actual.frames[0].script_name.ends_with("js/window.ts")); + assert!(actual.frames[0].script_name.ends_with("/window.ts")); } #[test] -- cgit v1.2.3