mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
[static-build] Fix running of e2e tests (#11518)
We accidentally committed a change which prevented the static-build e2e tests, so fixing that. Also reverting a change from https://github.com/vercel/vercel/pull/11497 which was causing issues with Ruby-based static site generators when using the AL2 build image.
This commit is contained in:
2
.changeset/lovely-apricots-repeat.md
Normal file
2
.changeset/lovely-apricots-repeat.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
@@ -48,7 +48,7 @@ import {
|
|||||||
import { getHugoUrl } from './utils/hugo';
|
import { getHugoUrl } from './utils/hugo';
|
||||||
import { once } from 'events';
|
import { once } from 'events';
|
||||||
|
|
||||||
const SUPPORTED_RUBY_VERSION = '3.3.0';
|
const SUPPORTED_RUBY_VERSION = '3.2.0';
|
||||||
const sleep = (n: number) => new Promise(resolve => setTimeout(resolve, n));
|
const sleep = (n: number) => new Promise(resolve => setTimeout(resolve, n));
|
||||||
|
|
||||||
const DEV_SERVER_PORT_BIND_TIMEOUT = ms('5m');
|
const DEV_SERVER_PORT_BIND_TIMEOUT = ms('5m');
|
||||||
|
|||||||
@@ -40,9 +40,8 @@ module.exports = function setupTests(groupIndex) {
|
|||||||
|
|
||||||
const fixturesToSkip = [];
|
const fixturesToSkip = [];
|
||||||
|
|
||||||
// console.log(fixtures);
|
|
||||||
// eslint-disable-next-line no-restricted-syntax
|
// eslint-disable-next-line no-restricted-syntax
|
||||||
for (const fixture of ['vitepress-2']) {
|
for (const fixture of fixtures) {
|
||||||
if (fixturesToSkip.includes(fixture)) {
|
if (fixturesToSkip.includes(fixture)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user