feat: improve rules_js parity
This commit is contained in:
6
tests/js_compat_test/helper.ts
Normal file
6
tests/js_compat_test/helper.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
|
||||
export function helperMessage(): string {
|
||||
const payload = readFileSync(new URL("./payload.txt", import.meta.url), "utf8").trim();
|
||||
return `helper:${payload}`;
|
||||
}
|
||||
Reference in New Issue
Block a user