Revert "Merge pull request #1 from xandora/jester-tester"

This reverts commit e901090896, reversing
changes made to 42076e7424.
This commit is contained in:
Tatiana
2021-05-08 11:28:50 -07:00
parent b2f2211321
commit e691edc97c
12 changed files with 63 additions and 62 deletions
+1
View File
@@ -1,2 +1,3 @@
let findTheOldest = function () {};
module.exports = findTheOldest;
+11 -11
View File
@@ -1,7 +1,7 @@
let findTheOldest = require("./findTheOldest");
let findTheOldest = require('./findTheOldest')
describe("findTheOldest", function () {
it("finds the oldest person!", function () {
describe('findTheOldest', function() {
it('finds the oldest person!', function() {
const people = [
{
name: "Carly",
@@ -18,10 +18,10 @@ describe("findTheOldest", function () {
yearOfBirth: 1912,
yearOfDeath: 1941,
},
];
expect(findTheOldest(people).name).toEqual("Ray");
]
expect(findTheOldest(people).name).toEqual('Ray');
});
xit("finds the oldest person if someone is still living", function () {
xit('finds the oldest person if someone is still living', function() {
const people = [
{
name: "Carly",
@@ -37,10 +37,10 @@ describe("findTheOldest", function () {
yearOfBirth: 1912,
yearOfDeath: 1941,
},
];
expect(findTheOldest(people).name).toEqual("Ray");
]
expect(findTheOldest(people).name).toEqual('Ray');
});
xit("finds the oldest person if the OLDEST is still living", function () {
xit('finds the oldest person if the OLDEST is still living', function() {
const people = [
{
name: "Carly",
@@ -56,7 +56,7 @@ describe("findTheOldest", function () {
yearOfBirth: 1912,
yearOfDeath: 1941,
},
];
expect(findTheOldest(people).name).toEqual("Carly");
]
expect(findTheOldest(people).name).toEqual('Carly');
});
});