fix: config test reads source file from correct path
CI / check (pull_request) Failing after 58s

Test was reading from dist/commands/config.ts which doesn't exist
(only .js files in dist). Navigate to src/ instead.
This commit is contained in:
2026-06-02 02:53:35 +00:00
parent ef0174a6f1
commit d8181e9fdf
@@ -720,7 +720,7 @@ defaultModel: default
describe("no legacy apiKeyEnv references", () => { describe("no legacy apiKeyEnv references", () => {
test("config.ts has no references to apiKeyEnv", () => { test("config.ts has no references to apiKeyEnv", () => {
const configSource = readFileSync(join(__dirname, "..", "commands", "config.ts"), "utf8"); const configSource = readFileSync(join(__dirname, "..", "..", "src", "commands", "config.ts"), "utf8");
expect(configSource).not.toContain("apiKeyEnv"); expect(configSource).not.toContain("apiKeyEnv");
}); });