From a5b287caaa4afbd39c59128c053a823e9ccdd96a Mon Sep 17 00:00:00 2001
From: Brian Leishman <b@rian.gg>
Date: Sat, 21 Sep 2024 16:16:02 -0400
Subject: [PATCH] add test for js.Build external source map comment

---
 resources/resource_transformers/js/js_integration_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/resources/resource_transformers/js/js_integration_test.go b/resources/resource_transformers/js/js_integration_test.go
index 304c51d33..fc60eecbc 100644
--- a/resources/resource_transformers/js/js_integration_test.go
+++ b/resources/resource_transformers/js/js_integration_test.go
@@ -202,6 +202,7 @@ TS2: {{ template "print" $ts2 }}
 		}).Build()
 
 	b.AssertFileContent("public/js/myts.js", `//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJz`)
+	b.AssertFileContent("public/js/myts2.js", `//# sourceMappingURL=myts2.js.map`)
 	b.AssertFileContent("public/js/myts2.js.map", `"version": 3,`)
 	b.AssertFileContent("public/index.html", `
 		console.log(&#34;included&#34;);