Skip to content
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