Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion pm-stack/opencode-claimant/test/install.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ function runInstaller(home, args) {
async function expectNoWrites(stores) {
expect(await readFile(stores.defaultStore, "utf8")).toBe(stores.original);
expect(await readFile(stores.explicitStore, "utf8")).toBe(stores.original);
expect(await readdir(stores.home)).toEqual([
// Bun itself may drop a `.bun` cache/state directory into HOME when it
// runs the installer (observed on CI runners where bun is installed under
// ~/.bun); that is a runtime artifact, not an installer write, so it is
// excluded from the no-write assertion. See developing-today/code#9532.
const homeEntries = (await readdir(stores.home)).filter(
(name) => name !== ".bun",
);
expect(homeEntries).toEqual([
".config", "explicit-store.json",
]);
expect(await readdir(stores.defaultDir)).toEqual([
Expand Down