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
3 changes: 2 additions & 1 deletion src/crm/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const portalWithFiles = () => {
const read = async (stream: ReadableStream<Uint8Array>) => new Response(stream).text()

describe("crmFilesContract over the fake portal", () => {
// Windows has no POSIX modes, and cli-core's contract asserts 0600 and 0700 there too (cli-core fix pending).
for (const { name, run } of crmFilesContract(() => {
const { source, own, theirs } = portalWithFiles()
return {
Expand All @@ -41,7 +42,7 @@ describe("crmFilesContract over the fake portal", () => {
refused: [`deal:${own}:comment:802.932`, `deal:${own}:comment:803.933`],
}
}))
it(name, run)
it.skipIf(process.platform === "win32" && name.includes("600 in 700"))(name, run)
})

describe("a record's files on the portal", () => {
Expand Down
Loading