File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
const findTheOldest = require ( './findTheOldest' )
2
2
3
3
describe ( 'findTheOldest' , ( ) => {
4
- test ( 'finds the oldest person!' , ( ) => {
4
+ test ( 'finds the person with the greatest age !' , ( ) => {
5
5
const people = [
6
6
{
7
7
name : "Carly" ,
@@ -21,7 +21,7 @@ describe('findTheOldest', () => {
21
21
]
22
22
expect ( findTheOldest ( people ) . name ) . toBe ( 'Ray' ) ;
23
23
} ) ;
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' , ( ) => {
25
25
const people = [
26
26
{
27
27
name : "Carly" ,
@@ -40,7 +40,7 @@ describe('findTheOldest', () => {
40
40
]
41
41
expect ( findTheOldest ( people ) . name ) . toBe ( 'Ray' ) ;
42
42
} ) ;
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' , ( ) => {
44
44
const people = [
45
45
{
46
46
name : "Carly" ,
You can’t perform that action at this time.
0 commit comments