Skip to content

Commit b14aa54

Browse files
committed
test: skip checking path
1 parent cf3d57f commit b14aa54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/index.spec.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ it('should download from url', async () => {
311311
const result = await client.downloadFromUrl(
312312
'https://releases.ubuntu.com/20.10/ubuntu-20.10-desktop-amd64.iso.torrent',
313313
);
314-
expect(result).toContain('/tmp/');
314+
// Should be a file path but it is different on different systems
315+
expect(result).toContain('/');
315316
await client.addTorrent(result, { add_paused: true });
316317
await pWaitFor(
317318
async () => {

0 commit comments

Comments
 (0)