Skip to content

Commit 6f47a84

Browse files
richardlautargos
authored andcommitted
test: remove common.fileExists()
test-trace-event-promises.js was added to the codebase between the last CI for #22151 and it landing. PR-URL: #22200 Refs: #22151 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gus Caplan <[email protected]>
1 parent bef02ab commit 6f47a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)