From df851affda11a5c3dc73fa4c364c006c55b8ee4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Thu, 28 Sep 2023 23:13:20 -0400 Subject: [PATCH] Format --- lib/sortby.test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/sortby.test.js b/lib/sortby.test.js index 162e3c0..5829e0b 100644 --- a/lib/sortby.test.js +++ b/lib/sortby.test.js @@ -13,7 +13,6 @@ const data = [ test('sort by name ascending', () => { const result = data.sort(sortby(['name'])) - equal(result, [ { age: 40, name: "Persone 1", new: true }, { age: 17, name: "Persone 2", new: false }, @@ -23,7 +22,6 @@ test('sort by name ascending', () => { test('sort by age ascending', () => { const result = data.sort(sortby(['age'])) - equal(result, [ { age: 17, name: "Persone 2", new: false }, { age: 40, name: "Persone 1", new: true }, @@ -33,7 +31,6 @@ test('sort by age ascending', () => { test('sort by age descending', () => { const result = data.sort(sortby(['age', 'desc'])) - equal(result, [ { age: 40, name: "Persone 1", new: true }, { age: 17, name: "Persone 2", new: false }, @@ -43,7 +40,6 @@ test('sort by age descending', () => { test('sort by new descending', () => { const result = data.sort(sortby(['new', 'desc'])) - equal(result, [ { age: 40, name: "Persone 1", new: true }, { age: 17, name: "Persone 2", new: false },