Skip to content

Commit 2c3d62b

Browse files
committed
test(examples-plugins): temporarily ignore slow lighthouse plugin tests
1 parent e707edf commit 2c3d62b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

examples/plugins/src/lighthouse/src/lighthouse.plugin.integration.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ describe('lighthouse-create-export-execution', () => {
101101
);
102102
});
103103

104-
it('should return PluginConfig that executes correctly', async () => {
104+
// TODO: Convert to E2E test or reduce scope, it takes too long to run these tests
105+
/* eslint-disable vitest/no-disabled-tests */
106+
it.skip('should return PluginConfig that executes correctly', async () => {
105107
const pluginConfig = await create({ url: LIGHTHOUSE_URL });
106108
await expect(executePlugin(pluginConfig)).resolves.toMatchObject(
107109
expect.objectContaining({
@@ -116,7 +118,7 @@ describe('lighthouse-create-export-execution', () => {
116118
);
117119
});
118120

119-
it('should use onlyAudits', async () => {
121+
it.skip('should use onlyAudits', async () => {
120122
const pluginConfig = await create({
121123
url: LIGHTHOUSE_URL,
122124
onlyAudits: 'largest-contentful-paint',
@@ -129,7 +131,8 @@ describe('lighthouse-create-export-execution', () => {
129131
expect(auditOutputs).toHaveLength(1);
130132
expect(auditOutputs[0]?.slug).toBe('largest-contentful-paint');
131133
});
132-
}, 40_000);
134+
/* eslint-enable vitest/no-disabled-tests */
135+
});
133136

134137
describe('lighthouse-audits-export', () => {
135138
it.each(audits.map(a => [a.slug, a]))(

0 commit comments

Comments
 (0)