From 7b307d1b21e2b3d0aa8a72ac0eb2bdecf36223cf Mon Sep 17 00:00:00 2001 From: Andrei Dumitrescu <5057797+andreidcm@users.noreply.github.com> Date: Wed, 20 Nov 2019 13:00:57 +0100 Subject: [PATCH] fix: Test fail due to unsorted compare or arrays --- tests/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/index.js b/tests/index.js index dea2326..0515676 100644 --- a/tests/index.js +++ b/tests/index.js @@ -25,8 +25,8 @@ describe("blocks :: init with defaults", async assert => { assert({ given: "1 custom plugin", should: "load default plugins (Router, QueryParser) and custom", - actual: Object.keys(Plugins), - expected: ["Router", "QueryParser", "Good"], + actual: Object.keys(Plugins).sort(), + expected: ["Good", "QueryParser", "Router"], }) assert({