summaryrefslogtreecommitdiffhomepage
path: root/packages/shared/test/util
diff options
context:
space:
mode:
authorKit Langton <[email protected]>2026-04-15 23:50:47 -0400
committerGitHub <[email protected]>2026-04-16 03:50:47 +0000
commit8aa0f9fe9515ba0234ab6a0a58c868068913bb05 (patch)
treed079fdd75796492449157256dafe7e309e04da63 /packages/shared/test/util
parentc802695ee9555ccfd8b0a6ae2215f750bccda712 (diff)
downloadopencode-8aa0f9fe9515ba0234ab6a0a58c868068913bb05.tar.gz
opencode-8aa0f9fe9515ba0234ab6a0a58c868068913bb05.zip
feat: enable type-aware no-base-to-string rule, fix 56 violations (#22750)
Diffstat (limited to 'packages/shared/test/util')
-rw-r--r--packages/shared/test/util/effect-flock.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/shared/test/util/effect-flock.test.ts b/packages/shared/test/util/effect-flock.test.ts
index 6e094c2e1..bd71e4f02 100644
--- a/packages/shared/test/util/effect-flock.test.ts
+++ b/packages/shared/test/util/effect-flock.test.ts
@@ -317,6 +317,7 @@ describe("util.effect-flock", () => {
})
const result = yield* flock.withLock(Effect.void, "eflock:perm", dir).pipe(Effect.exit)
+ // oxlint-disable-next-line no-base-to-string -- Exit has a useful toString for test assertions
expect(String(result)).toContain("PermissionDenied")
yield* Effect.promise(() => fs.chmod(dir, 0o700).then(() => fs.rm(tmp, { recursive: true, force: true })))
}),