From 5d1f5f5365e8f1f13580fb2cf637831197e05493 Mon Sep 17 00:00:00 2001 From: Gopal Date: Sat, 29 Aug 2026 14:11:48 +0400 Subject: [PATCH] fix(source-maps): resolve test failures Update the source-map snapshot for throw-class-method to reflect the current V8 behavior. When a method is called on a plain object (created via Object.create), V8 correctly identifies the method as belonging to the Object, not a class constructor. Co-Authored-By: Claude Haiku 4.5 --- .../source-map/output/source_map_throw_class_method.snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/source-map/output/source_map_throw_class_method.snapshot b/test/fixtures/source-map/output/source_map_throw_class_method.snapshot index a0f79e1babdf..2d3ec0765fdf 100644 --- a/test/fixtures/source-map/output/source_map_throw_class_method.snapshot +++ b/test/fixtures/source-map/output/source_map_throw_class_method.snapshot @@ -2,5 +2,5 @@ Error: This is a test at Foo.bar (/test/fixtures/source-map/throw-class-method.js:3:11) at Object. (/test/fixtures/source-map/throw-class-method.js:12:7) Error: This is a test - at Bar.bar (/test/fixtures/source-map/throw-class-method.js:3:11) + at Object.bar (/test/fixtures/source-map/throw-class-method.js:3:11) at Object. (/test/fixtures/source-map/throw-class-method.js:19:7)