diff mrjunejune/test/BUILD @ 244:b8aa08503378

[tools] Add sandboxed online LaTeX editor Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 16:56:25 -0700
parents 543df0fe7168
children 667156fcd3e3
line wrap: on
line diff
--- a/mrjunejune/test/BUILD	Mon Aug 03 15:26:44 2026 -0700
+++ b/mrjunejune/test/BUILD	Mon Aug 03 16:56:25 2026 -0700
@@ -48,6 +48,15 @@
   args = ["$(location //mrjunejune:mrjunejune_server)"],
 )
 
+cc_test(
+  name = "latex_renderer_test",
+  srcs = ["latex_renderer_test.c"],
+  deps = ["//mrjunejune:latex_renderer"],
+  size = "medium",
+  timeout = "moderate",
+  target_compatible_with = ["@platforms//os:linux"],
+)
+
 js_test(
   name = "hls_player_test",
   entry_point = "hls_player_test.js",
@@ -57,6 +66,27 @@
 )
 
 js_test(
+  name = "latex_editor_test",
+  entry_point = "latex_editor_test.js",
+  data = [
+    "//hg-web/e2e:node_modules/playwright-core",
+    "//mrjunejune:mrjunejune_server",
+    "@playwright_chromium_linux//:chrome",
+    "@playwright_chromium_linux//:chromium",
+  ],
+  env = {
+    "CHROMIUM_PATH": "$(rootpath @playwright_chromium_linux//:chrome)",
+  },
+  no_copy_to_bin = ["@playwright_chromium_linux//:chromium"],
+  size = "large",
+  target_compatible_with = [
+    "@platforms//cpu:x86_64",
+    "@platforms//os:linux",
+  ],
+  timeout = "long",
+)
+
+js_test(
   name = "theme_and_webp_test",
   entry_point = "theme_and_webp_test.js",
   data = [