File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe('findTheOldest', () => {
2121 ]
2222 expect ( findTheOldest ( people ) . name ) . toBe ( 'Ray' ) ;
2323 } ) ;
24- test . skip ( 'finds the person with the greatest age if someone is still living ' , ( ) => {
24+ test . skip ( 'finds the oldest person if yearOfDeath field is undefined on a non-oldest person ' , ( ) => {
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 person with the greatest age if the OLDEST is still living ' , ( ) => {
43+ test . skip ( 'finds the oldest person if yearOfDeath field is undefined for the oldest person ' , ( ) => {
4444 const people = [
4545 {
4646 name : "Carly" ,
You can’t perform that action at this time.
0 commit comments