fix(shared): avoid archive test batch regression

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-03 17:19:58 +09:00
parent 760099eb03
commit d65714eba0
-44
View File
@@ -1,44 +0,0 @@
import { describe, expect, test } from "bun:test"
import { isTaskSystemEnabled } from "./task-system-enabled"
describe("isTaskSystemEnabled", () => {
describe("#given experimental.task_system is omitted", () => {
test("#when resolving #then it defaults to false", () => {
// given
const config = {}
// when
const result = isTaskSystemEnabled(config)
// then
expect(result).toBe(false)
})
})
describe("#given experimental.task_system is enabled", () => {
test("#when resolving #then it returns true", () => {
// given
const config = { experimental: { task_system: true } }
// when
const result = isTaskSystemEnabled(config)
// then
expect(result).toBe(true)
})
})
describe("#given experimental.task_system is disabled", () => {
test("#when resolving #then it returns false", () => {
// given
const config = { experimental: { task_system: false } }
// when
const result = isTaskSystemEnabled(config)
// then
expect(result).toBe(false)
})
})
})