Skip to content

Commit f1e6f95

Browse files
committed
fix: globally update max timeout in Jest
1 parent 73c3342 commit f1e6f95

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

packages/components/bolt-accordion/__tests__/accordion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async function renderTwigString(template, data) {
1717
return await renderString(template, data, true);
1818
}
1919

20-
const timeout = 60000;
20+
const timeout = 120000;
2121

2222
describe('<bolt-accordion> Component', () => {
2323
let page;

packages/components/bolt-action-blocks/__tests__/action-blocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { join } = require('path');
1010
const schema = readYamlFileSync(join(__dirname, '../action-blocks.schema.yml'));
1111
const { valign, borderless } = schema.properties;
1212

13-
const timeout = 60000;
13+
const timeout = 120000;
1414

1515
describe('<bolt-action-blocks> Component', () => {
1616
afterAll(async () => {

packages/components/bolt-band/__tests__/band.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { join } = require('path');
1010
const schema = readYamlFileSync(join(__dirname, '../band.schema.yml'));
1111
const { size, theme, tag } = schema.properties;
1212

13-
const timeout = 60000;
13+
const timeout = 120000;
1414

1515
describe('<bolt-band> Component', () => {
1616
let page;

packages/components/bolt-list/__tests__/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const {
1818
tag,
1919
} = schema.properties;
2020

21-
const timeout = 60000;
21+
const timeout = 120000;
2222

2323
describe('<bolt-list> Component', () => {
2424
afterAll(async () => {

packages/components/bolt-modal/__tests__/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const imageVrtConfig = {
2424
failureThresholdType: 'percent',
2525
};
2626

27-
const timeout = 60000;
27+
const timeout = 120000;
2828

2929
// Currently, the only important breakpoints to test are 'small' and 'large'
3030
const viewportSizes = [

packages/components/bolt-pagination/__tests__/pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { join } = require('path');
1010
const schema = readYamlFileSync(join(__dirname, '../pagination.schema.yml'));
1111
const { align } = schema.properties;
1212

13-
const timeout = 60000;
13+
const timeout = 120000;
1414

1515
describe('<bolt-pagination> Component', () => {
1616
afterAll(async () => {

packages/components/bolt-ratio/__tests__/ratio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
html,
77
} from '../../../testing/testing-helpers';
88

9-
const timeout = 60000;
9+
const timeout = 120000;
1010

1111
const imageVrtConfig = {
1212
failureThreshold: '0.005',

packages/components/bolt-share/__tests__/share.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { readYamlFileSync } = require('@bolt/build-tools/utils/yaml');
99
const { join } = require('path');
1010
const schema = readYamlFileSync(join(__dirname, '../share.schema.yml'));
1111
const { size, opacity, align } = schema.properties;
12-
const timeout = 60000;
12+
const timeout = 120000;
1313

1414
describe('<bolt-share> Component', () => {
1515
afterAll(async () => {

packages/components/bolt-stack/__tests__/stack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { join } = require('path');
1010
const schema = readYamlFileSync(join(__dirname, '../stack.schema.yml'));
1111
const { spacing } = schema.properties;
1212

13-
const timeout = 60000;
13+
const timeout = 120000;
1414

1515
describe('<bolt-stack> component', () => {
1616
afterAll(async () => {

packages/components/bolt-table/__tests__/table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function renderTwigString(template, data) {
1818
return await renderString(template, data, true);
1919
}
2020

21-
const timeout = 60000;
21+
const timeout = 120000;
2222

2323
describe('<bolt-table> Component', () => {
2424
afterAll(async () => {

0 commit comments

Comments
 (0)