Skip to content

Commit

Permalink
Fixture path updated
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Jan 4, 2024
1 parent ea7b2b1 commit 2d44174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/playwright/archiving-assets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test('Assets / external asset is not archived (but still renders)', async ({ pag
test('Assets / external asset is archived', async ({ page }) => {
// mock the external image (which we'll archive)
await page.route('https://some.external/domain/image.png', async (route) => {
const file = await fs.readFile(path.join(__dirname, 'fixtures/pink.png'), {
const file = await fs.readFile(path.join(__dirname, '../fixtures/pink.png'), {
encoding: 'base64',
});
await route.fulfill({ body: Buffer.from(file, 'base64') });
Expand Down

0 comments on commit 2d44174

Please sign in to comment.