core: fix session compaction test to properly enable prune config option
This commit is contained in:
@@ -564,7 +564,8 @@ describe("session.compaction.create", () => {
|
||||
describe("session.compaction.prune", () => {
|
||||
it.live(
|
||||
"compacts old completed tool output",
|
||||
provideTmpdirInstance((dir) =>
|
||||
provideTmpdirInstance(
|
||||
(dir) =>
|
||||
Effect.gen(function* () {
|
||||
const compact = yield* SessionCompaction.Service
|
||||
const ssn = yield* SessionNs.Service
|
||||
@@ -649,6 +650,12 @@ describe("session.compaction.prune", () => {
|
||||
expect(part.state.time.compacted).toBeNumber()
|
||||
}
|
||||
}),
|
||||
|
||||
{
|
||||
config: {
|
||||
compaction: { prune: true },
|
||||
},
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user