mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Revert "Merge pull request #1 from xandora/jester-tester"
This reverts commite901090896, reversing changes made to42076e7424.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
let getTheTitles = require("./getTheTitles");
|
||||
let getTheTitles = require('./getTheTitles')
|
||||
|
||||
describe("getTheTitles", function () {
|
||||
const books = [
|
||||
{
|
||||
title: "Book",
|
||||
author: "Name",
|
||||
},
|
||||
{
|
||||
title: "Book2",
|
||||
author: "Name2",
|
||||
},
|
||||
];
|
||||
describe('getTheTitles', function() {
|
||||
const books = [
|
||||
{
|
||||
title: 'Book',
|
||||
author: 'Name'
|
||||
},
|
||||
{
|
||||
title: 'Book2',
|
||||
author: 'Name2'
|
||||
}
|
||||
]
|
||||
|
||||
it("gets titles", function () {
|
||||
expect(getTheTitles(books)).toEqual(["Book", "Book2"]);
|
||||
it('gets titles', function() {
|
||||
expect(getTheTitles(books)).toEqual(['Book','Book2']);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user