Skip to content

Commit 399fec9

Browse files
committed
fixup: ...
1 parent 7a3545e commit 399fec9

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ functions:
2626
set -x
2727
2828
. .evergreen/use-node.sh
29-
npm ci
29+
npm install
3030
check:
3131
- command: shell.exec
3232
params:

test/index.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ import { promises as fs } from 'fs';
1111
const execFile = promisify(childProcess.execFile);
1212
const exeSuffix = process.platform === 'win32' ? '.exe' : '';
1313

14-
// We shard the tests on Windows because compiling isn't cached there.
15-
1614
describe('basic functionality', () => {
1715
// Test the currently running Node.js version. Other versions can be checked
1816
// manually that way, or through the CI matrix.
1917
const version = process.version.slice(1).replace(/-.*$/, '');
2018

2119
describe(`On Node v${version}`, function () {
22-
it('works in a simple case (shard 1)', async function () {
20+
it('works in a simple case', async function () {
2321
this.timeout(2 * 60 * 60 * 1000); // 2 hours
2422
await compileJSFileAsBinary({
2523
nodeVersionRange: version,
@@ -100,7 +98,7 @@ describe('basic functionality', () => {
10098
}
10199
});
102100

103-
it('works with a Nan addon (shard 2)', async function () {
101+
it('works with a Nan addon', async function () {
104102
if (semver.lt(version, '12.19.0')) {
105103
return this.skip(); // no addon support available
106104
}
@@ -127,7 +125,7 @@ describe('basic functionality', () => {
127125
}
128126
});
129127

130-
it('works with a N-API addon (shard 3)', async function () {
128+
it('works with a N-API addon', async function () {
131129
if (semver.lt(version, '14.13.0')) {
132130
return this.skip(); // no N-API addon support available
133131
}
@@ -154,7 +152,7 @@ describe('basic functionality', () => {
154152
}
155153
});
156154

157-
it('passes through env vars and runs the pre-compile hook (shard 3)', async function () {
155+
it('passes through env vars and runs the pre-compile hook', async function () {
158156
this.timeout(2 * 60 * 60 * 1000); // 2 hours
159157
let ranPreCompileHook = false;
160158
async function preCompileHook (nodeSourceTree: string) {
@@ -177,7 +175,7 @@ describe('basic functionality', () => {
177175
throw new Error('unreachable');
178176
});
179177

180-
it('works with code caching support (shard 4)', async function () {
178+
it('works with code caching support', async function () {
181179
this.timeout(2 * 60 * 60 * 1000); // 2 hours
182180
await compileJSFileAsBinary({
183181
nodeVersionRange: version,
@@ -203,10 +201,10 @@ describe('basic functionality', () => {
203201
}
204202
});
205203

206-
it('works with snapshot support (shard 5)', async function () {
204+
it('works with snapshot support', async function () {
207205
this.timeout(2 * 60 * 60 * 1000); // 2 hours
208206
await compileJSFileAsBinary({
209-
nodeVersionRange: 'v20.0.0-nightly202302078e6e215481', // TODO: Update to real version
207+
nodeVersionRange: '20.x',
210208
sourceFile: path.resolve(__dirname, 'resources/snapshot-echo-args.js'),
211209
targetFile: path.resolve(__dirname, `resources/snapshot-echo-args${exeSuffix}`),
212210
useNodeSnapshot: true,

0 commit comments

Comments
 (0)