fix: tests

This commit is contained in:
Eric
2026-03-04 08:44:11 +01:00
parent 6cc7204cb3
commit ea244a8bb2
11 changed files with 151 additions and 94 deletions

View File

@@ -4,20 +4,12 @@ load("@rules_shell//shell:sh_test.bzl", "sh_test")
bun_bundle(
name = "simple_bundle",
entry_points = ["main.ts"],
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
bun_bundle(
name = "minified_bundle",
entry_points = ["main.ts"],
minify = True,
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
sh_test(
@@ -25,10 +17,6 @@ sh_test(
srcs = ["verify_bundle.sh"],
args = ["$(location :simple_bundle)"],
data = [":simple_bundle"],
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)
sh_test(
@@ -42,8 +30,4 @@ sh_test(
":simple_bundle",
":minified_bundle",
],
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)