From 5f37415148107e7de588facc91c22847e4a67ca5 Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Tue, 3 Dec 2024 10:49:20 -0300 Subject: [PATCH] Update unit tests --- libraries/botframework-config/tests/loadAndSave.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botframework-config/tests/loadAndSave.test.js b/libraries/botframework-config/tests/loadAndSave.test.js index 6ee274fdc2..d7d83ffa66 100644 --- a/libraries/botframework-config/tests/loadAndSave.test.js +++ b/libraries/botframework-config/tests/loadAndSave.test.js @@ -362,7 +362,7 @@ describe('LoadAndSaveTests', function () { }); it('LegacyEncryption', async function () { - if (!(UNSUPPORTED_VERSION.localeCompare(process.version) > 0)) { + if (UNSUPPORTED_VERSION.localeCompare(process.version) < 1) { await assert.rejects( bf.BotConfiguration.load(legacyBotPath, 'password'), new Error(`This method is not available for Node.js versions over ${UNSUPPORTED_VERSION}.`),