Skip to content

Commit

Permalink
[1.3.0] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 12, 2024
1 parent b29cf96 commit f5a61ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/setup/cow+fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ server
.listen(port)
.unref();

const baseUrl = 'http://localhost:' + port;

await configureSingle({
backend: Overlay,
readable: Fetch.create({
baseUrl: `http://localhost:${port}/`,
index: '.index.json',
baseUrl,
index: baseUrl + '/.index.json',
}),
writable: InMemory.create({ name: 'cow' }),
});

0 comments on commit f5a61ac

Please sign in to comment.