summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js_errors.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/js_errors.rs b/src/js_errors.rs
index 87b1db0d5..338ce7424 100644
--- a/src/js_errors.rs
+++ b/src/js_errors.rs
@@ -497,7 +497,6 @@ mod tests {
#[test]
fn js_error_apply_source_map_2() {
- // Because this is accessing the live bundle, this test might be more fragile
let e = JSError {
message: "TypeError: baz".to_string(),
frames: vec![StackFrame {
@@ -513,9 +512,8 @@ mod tests {
let getter = MockSourceMapGetter {};
let actual = e.apply_source_map(&getter);
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_eq!(actual.frames[0].line, 15);
- assert_eq!(actual.frames[0].column, 16);
assert!(actual.frames[0].script_name.ends_with("js/util.ts"));
}