Showing the changes to apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts (1 of 131 files). Show all
Unified · Split
| @@ -3,7 +3,8 @@ import { it, describe, expect } from "@effect/vitest"; · 2 unmodified lines | |||
| 3 | import { Effect, FileSystem, Layer, Path } from "effect"; | 3 | import { Effect, FileSystem, Layer, Path } from "effect"; |
| 4 | 4 | ||
| 5 | import { ServerConfig } from "../../config.ts"; | 5 | import { ServerConfig } from "../../config.ts"; |
| 6 | import { GitCoreLive } from "../../git/Layers/GitCore.ts"; | 6 | import * as VcsDriverRegistry from "../../vcs/VcsDriverRegistry.ts"; |
| 7 | import * as VcsProcess from "../../vcs/VcsProcess.ts"; | ||
| 7 | import { WorkspaceEntries } from "../Services/WorkspaceEntries.ts"; | 8 | import { WorkspaceEntries } from "../Services/WorkspaceEntries.ts"; |
| 8 | import { WorkspaceFileSystem } from "../Services/WorkspaceFileSystem.ts"; | 9 | import { WorkspaceFileSystem } from "../Services/WorkspaceFileSystem.ts"; |
| 9 | import { WorkspaceEntriesLive } from "./WorkspaceEntries.ts"; | 10 | import { WorkspaceEntriesLive } from "./WorkspaceEntries.ts"; |
| @@ -19,7 +20,7 @@ const TestLayer = Layer.empty.pipe( · 9 unmodified lines | |||
| 19 | Layer.provideMerge(ProjectLayer), | 20 | Layer.provideMerge(ProjectLayer), |
| 20 | Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))), | 21 | Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))), |
| 21 | Layer.provideMerge(WorkspacePathsLive), | 22 | Layer.provideMerge(WorkspacePathsLive), |
| 22 | Layer.provideMerge(GitCoreLive), | 23 | Layer.provideMerge(VcsDriverRegistry.layer.pipe(Layer.provide(VcsProcess.layer))), |
| 23 | Layer.provide( | 24 | Layer.provide( |
| 24 | ServerConfig.layerTest(process.cwd(), { | 25 | ServerConfig.layerTest(process.cwd(), { |
| 25 | prefix: "t3-workspace-files-test-", | 26 | prefix: "t3-workspace-files-test-", |