// Tests that need the dev stack skip when it isn't running, so `npm test` works anywhere. // `just check` and CI set LANGUID_REQUIRE_STACK=1: then a missing stack is a failure, not a skip, // and a green run means the integration tests really ran. export const requireStack = process.env.LANGUID_REQUIRE_STACK === '1' export const skipWithoutStack = (up: boolean) => { if (up || requireStack) return false return 'dev PDS not running (LANGUID_REQUIRE_STACK=1 makes this a failure)' }