Skip to content

Commit

Permalink
Update test profile option (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Aug 6, 2024
1 parent 036bdd3 commit f75b7bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ const main = async () => {
});
session.disconnect();
const file = dirname('..', 'dist', 'test', 'profile.cpuprofile');
await fs.mkdir(path.dirname(file), { recursive: true });
await fs.writeFile(file, JSON.stringify(data.profile), 'utf-8');
}
} catch (error) {
Expand Down

0 comments on commit f75b7bd

Please sign in to comment.