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:
@@ -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");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user