Update files

This commit is contained in:
thatblindgeye
2023-01-21 12:53:41 -05:00
parent fb1a2db8d7
commit 4a112362c8
31 changed files with 571 additions and 449 deletions
@@ -1,18 +1,18 @@
const getTheTitles = require('./getTheTitles-solution');
const getTheTitles = require("./getTheTitles");
describe('getTheTitles', () => {
const books = [
{
title: 'Book',
author: 'Name',
},
{
title: 'Book2',
author: 'Name2',
},
];
describe("getTheTitles", () => {
const books = [
{
title: "Book",
author: "Name",
},
{
title: "Book2",
author: "Name2",
},
];
test('gets titles', () => {
expect(getTheTitles(books)).toEqual(['Book', 'Book2']);
});
test("gets titles", () => {
expect(getTheTitles(books)).toEqual(["Book", "Book2"]);
});
});