Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const test = require('node:test');
const assert = require('node:assert');
const fs = require('node:fs');

test('Another test that verifies setup flag existance', (t) => {
test('Another test that verifies setup flag existence', (t) => {
const setupFlagPath = process.env.SETUP_FLAG_PATH;
assert.ok(fs.existsSync(setupFlagPath), 'Setup flag file should exist');

Expand Down
6 changes: 3 additions & 3 deletions test/parallel/test-abortsignal-drop-settled-signals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function runWithOrphanListeners(limit, done) {
const limit = 10_000;

describe('when there is a long-lived signal', () => {
it('drops settled dependant signals', (t, done) => {
it('drops settled dependent signals', (t, done) => {
makeSubsequentCalls(limit, (signal, dependantSignalsKey) => {
setImmediate(() => {
t.assert.strictEqual(signal[dependantSignalsKey].size, 0);
Expand All @@ -112,7 +112,7 @@ describe('when there is a long-lived signal', () => {
});
});

it('keeps all active dependant signals', (t, done) => {
it('keeps all active dependent signals', (t, done) => {
makeSubsequentCalls(limit, (signal, dependantSignalsKey) => {
t.assert.strictEqual(signal[dependantSignalsKey].size, limit);

Expand All @@ -132,7 +132,7 @@ it('does not prevent source signal from being GCed if it is short-lived', (t, do
});
});

it('drops settled dependant signals when signal is composite', (t, done) => {
it('drops settled dependent signals when signal is composite', (t, done) => {
const controllers = Array.from({ length: 2 }, () => new AbortController());

// Using WeakRefs to avoid this test to retain information that will make the test fail
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-fs-utimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function expect_ok(syscall, resource, err, atime, mtime, statSync) {
const mtime_diff = check_mtime(resource, mtime, statSync);
assert(
// Check up to single-second precision.
// Sub-second precision is OS and fs dependant.
// Sub-second precision is OS and fs dependent.
!err && (mtime_diff < 2) || err && err.code === 'ENOSYS',
`FAILED: expect_ok ${util.inspect(arguments)}
check_mtime: ${mtime_diff}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ events.captureRejections = true;
{
let _res;
let shouldEnd = false;
// Not using mustCall here, because it is OS-dependant.
// Not using mustCall here, because it is OS-dependent.
const server = createServer((req, res) => {
// So that we cleanly stop
_res = res;
Expand Down
Loading