Skip to content

Commit 1473955

Browse files
committed
test: remove common.fileExists()
test-trace-event-promises.js was added to the codebase between the last CI for nodejs#22151 and it landing. Refs: nodejs#22151
1 parent 41ae423 commit 1473955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-trace-event-promises.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (process.argv[2] === 'child') {
3333
proc.once('exit', common.mustCall(() => {
3434
const file = path.join(tmpdir.path, 'node_trace.1.log');
3535

36-
assert(common.fileExists(file));
36+
assert(fs.existsSync(file));
3737
fs.readFile(file, common.mustCall((err, data) => {
3838
const traces = JSON.parse(data.toString()).traceEvents
3939
.filter((trace) => trace.cat !== '__metadata');

0 commit comments

Comments
 (0)