summaryrefslogtreecommitdiff
path: root/cli/source_maps.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-01-21 01:30:30 +1100
committerRy Dahl <ry@tinyclouds.org>2020-01-20 09:30:30 -0500
commit60b53fd6b6dc2af83a64c332b9f3a1926f43d631 (patch)
tree4f4ef1aadb8c79ef2319d728b9d5b132af40ef83 /cli/source_maps.rs
parent23e67eb5153bd26dbae471b27dc6a21a6d283b0b (diff)
Use globalThis to reference global scope (#3719)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/source_maps.rs')
-rw-r--r--cli/source_maps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/source_maps.rs b/cli/source_maps.rs
index d3cda390d..e326c644e 100644
--- a/cli/source_maps.rs
+++ b/cli/source_maps.rs
@@ -412,7 +412,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("/window.ts"));
+ assert!(actual.frames[0].script_name.ends_with("/dom_types.ts"));
}
#[test]