test(core): add config and watcher test services (#39157)

This commit is contained in:
Kit Langton 2026-07-27 14:32:38 -04:00 committed by GitHub
commit 713658c07b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 468 additions and 498 deletions

View file

@ -28,10 +28,7 @@ describe("SkillPlugin.Plugin", () => {
},
}),
).pipe(
Effect.provideService(
Config.Service,
Config.Service.of({ changes: () => Stream.empty, entries: () => Effect.succeed([]) }),
),
Effect.provide(Config.testLayer()),
Effect.provideService(
Location.Service,
Location.Service.of(location({ directory: AbsolutePath.make(import.meta.dir) })),