8000 Merge pull request #340 from RyanMcEntire/getting_older_test_wording · ewoknock/javascript-exercises@191a43a · GitHub
[go: up one dir, main page]

Skip to content

Commit 191a43a

Browse files
authored
Merge pull request TheOdinProject#340 from RyanMcEntire/getting_older_test_wording
12_findTheOldest: Clarify test descriptions
2 parents 2ca0716 + 197a716 commit 191a43a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

12_findTheOldest/findTheOldest.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const findTheOldest = require('./findTheOldest')
22

33
describe('findTheOldest', () => {
4-
test('finds the oldest person!', () => {
4+
test('finds the person with the greatest age!', () => {
55
const people = [
66
{
77
name: "Carly",
@@ -21,7 +21,7 @@ describe('findTheOldest', () => {
2121
]
2222
expect(findTheOldest(people).name).toBe('Ray');
2323
});
24-
test.skip('finds the oldest person if someone is still living', () => {
24+
test.skip('finds the person with the greatest age if someone is still living', () => {
2525
const people = [
2626
{
2727
name: "Carly",
@@ -40,7 +40,7 @@ describe('findTheOldest', () => {
4040
]
4141
expect(findTheOldest(people).name).toBe('Ray');
4242
});
43-
test.skip('finds the oldest person if the OLDEST is still living', () => {
43+
test.skip('finds the person with the greatest age if the OLDEST is still living', () => {
4444
const people = [
4545
{
4646
name: "Carly",

0 commit comments

Comments
 (0)
0