summaryrefslogtreecommitdiffhomepage
path: root/packages/shared
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared')
-rw-r--r--packages/shared/test/filesystem/filesystem.test.ts4
-rw-r--r--packages/shared/test/fixture/effect-flock-worker.ts1
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/shared/test/filesystem/filesystem.test.ts b/packages/shared/test/filesystem/filesystem.test.ts
index ce990d379..b49026bcb 100644
--- a/packages/shared/test/filesystem/filesystem.test.ts
+++ b/packages/shared/test/filesystem/filesystem.test.ts
@@ -290,7 +290,7 @@ describe("AppFileSystem", () => {
it(
"exists works",
Effect.gen(function* () {
- const fs = yield* AppFileSystem.Service
+ yield* AppFileSystem.Service
const filesys = yield* FileSystem.FileSystem
const tmp = yield* filesys.makeTempDirectoryScoped()
const file = path.join(tmp, "exists.txt")
@@ -304,7 +304,7 @@ describe("AppFileSystem", () => {
it(
"remove works",
Effect.gen(function* () {
- const fs = yield* AppFileSystem.Service
+ yield* AppFileSystem.Service
const filesys = yield* FileSystem.FileSystem
const tmp = yield* filesys.makeTempDirectoryScoped()
const file = path.join(tmp, "delete-me.txt")
diff --git a/packages/shared/test/fixture/effect-flock-worker.ts b/packages/shared/test/fixture/effect-flock-worker.ts
index 7fd2e144a..c9116c2d5 100644
--- a/packages/shared/test/fixture/effect-flock-worker.ts
+++ b/packages/shared/test/fixture/effect-flock-worker.ts
@@ -1,5 +1,4 @@
import fs from "fs/promises"
-import path from "path"
import os from "os"
import { Effect, Layer } from "effect"
import { AppFileSystem } from "@opencode-ai/shared/filesystem"