chore: remove cyclic error test (now supported)
This commit is contained in:
parent
1ba5e40a2c
commit
9d48d35db0
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
import { expect } from '@playwright/test';
|
||||
import { testFactory, getErrorOverlayContent } from './test-utils.js';
|
||||
|
||||
const test = testFactory({
|
||||
root: './fixtures/error-cyclic/',
|
||||
});
|
||||
|
||||
let devServer;
|
||||
|
||||
test.beforeEach(async ({ astro }) => {
|
||||
devServer = await astro.startDevServer();
|
||||
});
|
||||
|
||||
test.afterEach(async ({ astro }) => {
|
||||
await devServer.stop();
|
||||
astro.resetAllFiles();
|
||||
});
|
||||
|
||||
test.describe('Error: Cyclic Reference', () => {
|
||||
test('overlay', async ({ page, astro }) => {
|
||||
await page.goto(astro.resolveUrl('/'));
|
||||
|
||||
const message = (await getErrorOverlayContent(page)).message;
|
||||
expect(message).toMatch('Cyclic reference');
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue