Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix ex110 - isDelicious #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function check110 () {
})

checkForFunction(filename, module, 'manyTypes')
const diverseObject = { name: 'banana', count: 42, delicious: true }
const diverseObject = { name: 'banana', count: 42, isDelicious: true }
it('"manyTypes" function implementation', function () {
assert.deepStrictEqual(module.manyTypes(), diverseObject, 'manyTypes() should return the Object of multiple types.')
})
Expand All @@ -607,7 +607,7 @@ function check110 () {

checkForFunction(filename, module, 'addKey')
it('"addKey" function implementation', function () {
const bestFruit = { name: 'banana', count: 42, delicious: true, color: 'yellow' }
const bestFruit = { name: 'banana', count: 42, isDelicious: true, color: 'yellow' }
assert.deepStrictEqual(module.addKey(), bestFruit, 'addKey() should return bestFruit including a "color" property.')
// TODO: make sure they added {color:"yellow"} to bestFruit
})
Expand Down