From 8fd7c734dec2dcccbea882dc9d9c051897b9047b Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Thu, 18 Nov 2021 09:30:47 +0100 Subject: [PATCH] chore: fix export test --- .../api-request-builder/test/exports.spec.js | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/api-request-builder/test/exports.spec.js b/packages/api-request-builder/test/exports.spec.js index e4d81fdba..317f79f5d 100644 --- a/packages/api-request-builder/test/exports.spec.js +++ b/packages/api-request-builder/test/exports.spec.js @@ -7,17 +7,19 @@ describe('exports', () => { }) test('features', () => { - expect(Object.keys(features)).toEqual([ - 'create', - 'update', - 'del', - 'query', - 'queryOne', - 'queryExpand', - 'queryLocation', - 'search', - 'projection', - 'suggest', - ]) + expect(Object.keys(features).sort()).toEqual( + [ + 'create', + 'update', + 'del', + 'query', + 'queryOne', + 'queryExpand', + 'queryLocation', + 'search', + 'projection', + 'suggest', + ].sort() + ) }) })