Skip to content

Commit 0a22111

Browse files
test: gate qqbot symlinked media helper test on dynamic capability probe globally
1 parent a9a961f commit 0a22111

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/qqbot/src/engine/utils/file-utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe("qqbot file-utils downloadFile", () => {
111111
expect(adapterMocks.fetchMedia).not.toHaveBeenCalled();
112112
});
113113

114-
it.skipIf(process.platform === "win32" ? !canCreateFileSymlinks : false)("rejects symlinked local media helpers", async () => {
114+
it.skipIf(!canCreateFileSymlinks)("rejects symlinked local media helpers", async () => {
115115
const targetPath = path.join(tempDir, "target.png");
116116
const linkPath = path.join(tempDir, "link.png");
117117
await fs.promises.writeFile(targetPath, "image-bytes");

0 commit comments

Comments
 (0)