Files
vercel/utils/chunk-tests-18.js
Kiko Beats bc95d764b4 ci: add Node.js v18 tests (#11575)
Some tests are skipped because CI tests are running against v16.

I added a new GitHub CI job just inlcuding the tests that are skipped for now.
2024-05-10 21:15:37 +00:00

47 lines
1.1 KiB
JavaScript
Vendored

async function main() {
try {
console.log(
JSON.stringify([
{
runner: 'ubuntu-latest',
packagePath: 'packages/node',
packageName: '@vercel/node',
scriptName: 'test-unit',
testScript: 'test',
testPaths: ['test/unit/dev.test.ts'],
chunkNumber: 1,
allChunksLength: 1,
},
{
runner: 'macos-14',
packagePath: 'packages/node',
packageName: '@vercel/node',
scriptName: 'test-unit',
testScript: 'test',
testPaths: ['test/unit/dev.test.ts'],
chunkNumber: 1,
allChunksLength: 1,
},
{
runner: 'windows-latest',
packagePath: 'packages/node',
packageName: '@vercel/node',
scriptName: 'test-unit',
testScript: 'test',
testPaths: ['test/unit/dev.test.ts'],
chunkNumber: 1,
allChunksLength: 1,
},
])
);
} catch (e) {
console.error(e);
process.exitCode = 1;
}
}
// @ts-ignore
if (module === require.main || !module.parent) {
main();
}