fix: harden bun_test launcher args and test metadata
Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ bun_test(
|
||||
bun_test(
|
||||
name = "failing_suite",
|
||||
srcs = ["failing.test.ts"],
|
||||
tags = ["manual"],
|
||||
target_compatible_with = [
|
||||
"@platforms//cpu:x86_64",
|
||||
"@platforms//os:linux",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
test("failing suite", () => {
|
||||
test("intentionally fails for manual validation", () => {
|
||||
expect(1 + 1).toBe(3);
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expect, test } from "bun:test";
|
||||
|
||||
test("passing suite", () => {
|
||||
test("adds two numbers correctly", () => {
|
||||
expect(1 + 1).toBe(2);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user