From 55479c7c64bf857fdc84a90725bfa182f37a8e85 Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Thu, 28 Nov 2024 17:12:54 -0300 Subject: [PATCH] Add NODE_NO_WARNINGS flag to bf dialogs:merge exec --- .../botbuilder-dialogs-declarative/tests/schemaMergeTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botbuilder-dialogs-declarative/tests/schemaMergeTest.js b/libraries/botbuilder-dialogs-declarative/tests/schemaMergeTest.js index c5c7afb560..cc858cae7b 100644 --- a/libraries/botbuilder-dialogs-declarative/tests/schemaMergeTest.js +++ b/libraries/botbuilder-dialogs-declarative/tests/schemaMergeTest.js @@ -14,7 +14,7 @@ async function runCommand(command, envObject) { // We need to combine our process.env with envObject so, // 1) We can use existing env vars (like from CI), and // 2) npx doesn't like to install without the existing APPDATA windows env var. - const env = { ...process.env, ...envObject }; + const env = { ...process.env, ...envObject, NODE_NO_WARNINGS: 1 }; const { stdout, stderr } = await exec(command, { env }); if (stderr) {