From 197a716eb0136bb32d952c8d2a7e167715f55cc6 Mon Sep 17 00:00:00 2001 From: Ryan McEntire <107779145+RyanMcEntire@users.noreply.github.com> Date: Thu, 6 Apr 2023 18:41:30 -0600 Subject: [PATCH] reword test description to be less tautological and more clear --- 12_findTheOldest/findTheOldest.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/12_findTheOldest/findTheOldest.spec.js b/12_findTheOldest/findTheOldest.spec.js index 06aec70..732faaa 100644 --- a/12_findTheOldest/findTheOldest.spec.js +++ b/12_findTheOldest/findTheOldest.spec.js @@ -1,7 +1,7 @@ const findTheOldest = require('./findTheOldest') describe('findTheOldest', () => { - test('finds the oldest person!', () => { + test('finds the person with the greatest age!', () => { const people = [ { name: "Carly", @@ -21,7 +21,7 @@ describe('findTheOldest', () => { ] expect(findTheOldest(people).name).toBe('Ray'); }); - test.skip('finds the oldest person if someone is still living', () => { + test.skip('finds the person with the greatest age if someone is still living', () => { const people = [ { name: "Carly", @@ -40,7 +40,7 @@ describe('findTheOldest', () => { ] expect(findTheOldest(people).name).toBe('Ray'); }); - test.skip('finds the oldest person if the OLDEST is still living', () => { + test.skip('finds the person with the greatest age if the OLDEST is still living', () => { const people = [ { name: "Carly",