Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixup
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Jul 23, 2024
commit 9b164ab5ed7c0f954529ce1449f682a374987448
7 changes: 6 additions & 1 deletion test/parallel/test-runner-run-files-undefined.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import { dot, spec, tap } from 'node:test/reporters';
import { fork } from 'node:child_process';
import assert from 'node:assert';

if (common.hasCrypto) {
console.log('1..0 # Skipped: no crypto');
process.exit(0);
}

if (process.env.CHILD === 'true') {
describe('require(\'node:test\').run with no files', { concurrency: true }, () => {
beforeEach(() => {
Expand Down Expand Up @@ -46,7 +51,7 @@ if (process.env.CHILD === 'true') {
});
});
} else if (common.isAIX) {
console.log('1..0 # Skipped: test runner watch mode');
console.log('1..0 # Skipped: test runner without specifying files fails on AIX');
} else {
fork(import.meta.filename, [], {
env: { CHILD: 'true' }
Expand Down
3 changes: 1 addition & 2 deletions test/parallel/test-runner-watch-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { writeFileSync, renameSync, unlinkSync, existsSync } from 'node:fs';
import util from 'internal/util';
import tmpdir from '../common/tmpdir.js';


if (common.isIBMi)
common.skip('IBMi does not support `fs.watch()`');

Expand Down Expand Up @@ -134,7 +133,7 @@ describe('test runner watch mode', () => {
await testWatch({ fileToUpdate: 'test.js', action: 'rename' });
});

it('should not throw when delete a watched test file', async () => {
it('should not throw when delete a watched test file', { skip: common.isAIX }, async () => {
await testWatch({ fileToUpdate: 'test.js', action: 'delete' });
});
});