diff --git a/test/fixtures/test-runner/global-setup-teardown/another-test-file.js b/test/fixtures/test-runner/global-setup-teardown/another-test-file.js index 6d39ef2ec79aa8..d7808c2b565a7c 100644 --- a/test/fixtures/test-runner/global-setup-teardown/another-test-file.js +++ b/test/fixtures/test-runner/global-setup-teardown/another-test-file.js @@ -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'); diff --git a/test/parallel/test-abortsignal-drop-settled-signals.mjs b/test/parallel/test-abortsignal-drop-settled-signals.mjs index d5d704d55c5243..29a0dcf8b58638 100644 --- a/test/parallel/test-abortsignal-drop-settled-signals.mjs +++ b/test/parallel/test-abortsignal-drop-settled-signals.mjs @@ -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); @@ -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); @@ -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 diff --git a/test/parallel/test-fs-utimes.js b/test/parallel/test-fs-utimes.js index e6ae75d4e33a5f..41e5faea46be66 100644 --- a/test/parallel/test-fs-utimes.js +++ b/test/parallel/test-fs-utimes.js @@ -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}` diff --git a/test/parallel/test-http-outgoing-message-capture-rejection.js b/test/parallel/test-http-outgoing-message-capture-rejection.js index a89ef8baf70605..31cc047ea2e319 100644 --- a/test/parallel/test-http-outgoing-message-capture-rejection.js +++ b/test/parallel/test-http-outgoing-message-capture-rejection.js @@ -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;