comparison 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
comparison
equal deleted inserted replaced
243:823f2a8b16c8 244:b8aa08503378
46 size = "large", 46 size = "large",
47 timeout = "long", 47 timeout = "long",
48 args = ["$(location //mrjunejune:mrjunejune_server)"], 48 args = ["$(location //mrjunejune:mrjunejune_server)"],
49 ) 49 )
50 50
51 cc_test(
52 name = "latex_renderer_test",
53 srcs = ["latex_renderer_test.c"],
54 deps = ["//mrjunejune:latex_renderer"],
55 size = "medium",
56 timeout = "moderate",
57 target_compatible_with = ["@platforms//os:linux"],
58 )
59
51 js_test( 60 js_test(
52 name = "hls_player_test", 61 name = "hls_player_test",
53 entry_point = "hls_player_test.js", 62 entry_point = "hls_player_test.js",
54 data = ["//mrjunejune:hls_player_js"], 63 data = ["//mrjunejune:hls_player_js"],
55 size = "small", 64 size = "small",
56 timeout = "short", 65 timeout = "short",
66 )
67
68 js_test(
69 name = "latex_editor_test",
70 entry_point = "latex_editor_test.js",
71 data = [
72 "//hg-web/e2e:node_modules/playwright-core",
73 "//mrjunejune:mrjunejune_server",
74 "@playwright_chromium_linux//:chrome",
75 "@playwright_chromium_linux//:chromium",
76 ],
77 env = {
78 "CHROMIUM_PATH": "$(rootpath @playwright_chromium_linux//:chrome)",
79 },
80 no_copy_to_bin = ["@playwright_chromium_linux//:chromium"],
81 size = "large",
82 target_compatible_with = [
83 "@platforms//cpu:x86_64",
84 "@platforms//os:linux",
85 ],
86 timeout = "long",
57 ) 87 )
58 88
59 js_test( 89 js_test(
60 name = "theme_and_webp_test", 90 name = "theme_and_webp_test",
61 entry_point = "theme_and_webp_test.js", 91 entry_point = "theme_and_webp_test.js",