From f75b7bdd2af79f45dbd4704269f5200fb0c914f9 Mon Sep 17 00:00:00 2001 From: Lutz Roeder Date: Mon, 5 Aug 2024 18:12:57 -0700 Subject: [PATCH] Update test profile option (#1123) --- test/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/models.js b/test/models.js index 80b4a17b1f..7fad591d7d 100755 --- a/test/models.js +++ b/test/models.js @@ -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) {