mocho-chai-automated-testing@0.0.1 test mocha
Chef test
I would like to have: Pokora
✔ check the dish for valid name,
I would like to have: Tea
✔ check for a dish in menu.
Customer fed with good food!
Customer fed with good food!
Customer fed with good food!
Customer fed with good food!
Customer fed with good food!
All customers ate!
✔ make sure the chef can feed more.
Doors are Broken
✔ check if restaurant is closed
Doors are Broken
✔ check if the restaurant is safe:
delivery service true
✔ #foodDoordash
#isMenuAnArray true
✔ #isMenuAnArray
✔ #menuItemHasChicken
✔ #menuLength
✔ #isEmptyArray, #foobar
✔ #isOK
✔ #isNotOk
✔ #equal, #notEqual
1) #fail
✔ #strictEqual, #notStrictEqual, #deepEqual, #notDeepEqual
✔ #isAbove, #isBelow
✔ #isAtLeast
✔ #isAtMost
✔ #isTrue, #isFalse, #isNotTrue, #isNotFalse
✔ #isNull, #isNotNull
✔ #isNaN, #isNotNaN
✔ #exists, #notExists
✔ #isDefined, #isUndefined
✔ #isFunction, #isNotFunction
✔ #isObject, #isNotObject
✔ #isArray, #isNotArray
✔ #typeOf
✔ #isString, #isNotString
✔ #isNumber, #isNotNumber
2) #isFinite
✔ #isBoolean, #isNotBoolean
29 passing (444ms)
2 failing
1) Chef test
#fail:
AssertionError: assert.fail()
at Context.<anonymous> (test\appTest.js:90:10)
at processImmediate (internal/timers.js:464:21)
2) Chef test
#isFinite:
AssertionError: expected NaN to be a finite number
at Context.<anonymous> (test\appTest.js:312:10)
at processImmediate (internal/timers.js:464:21)