Revert "Merge branch 'jest'"

This reverts commit f76e9e108f.
This commit is contained in:
Marvin Gay
2021-05-12 21:47:42 -04:00
parent f76e9e108f
commit ad1c0c407f
45 changed files with 217 additions and 6166 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
# Exercise 11 - Get the Titles!
# Get the Titles!
You are given an array of objects that represent books with an author and a title that looks like this:
@@ -15,7 +15,7 @@ const books = [
]
```
Your job is to write a function that takes the array and returns an array of titles:
your job is to write a function that takes the array and returns an array of titles:
```javascript
getTheTitles(books) // ['Book','Book2']
+1 -1
View File
@@ -1,5 +1,5 @@
const getTheTitles = function() {
};
}
module.exports = getTheTitles;
+1 -1
View File
@@ -12,7 +12,7 @@ describe('getTheTitles', function() {
}
]
test('gets titles', () => {
it('gets titles', function() {
expect(getTheTitles(books)).toEqual(['Book','Book2']);
});
});