Merge pull request #3268 from code-yeongyu/fix/ci-flake-model-resolution-pipeline

fix(ci): isolate model-resolution-pipeline test to prevent mock contamination
This commit is contained in:
YeonGyu-Kim
2026-04-09 14:24:13 +09:00
committed by GitHub
+8 -1
View File
@@ -1,6 +1,13 @@
import { describe, expect, test } from "bun:test"
import { describe, expect, mock, test } from "bun:test"
import { resolveModelPipeline } from "./model-resolution-pipeline"
// Force test-runner isolation: files that import mock.module are auto-detected
// by run-ci-tests.ts and executed in their own bun process so they cannot be
// contaminated by (or contaminate) mock.module calls in other test files.
mock.module("./logger", () => ({
log: () => {},
}))
describe("resolveModelPipeline", () => {
test("does not return unused explicit user config metadata in override result", () => {
// given