From 10855d3c55d0dc42018312478ff0950ba5a7615b Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Wed, 20 Feb 2019 19:10:31 +0800 Subject: [PATCH] broke unit-js --- tests/unit-js.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/unit-js.js b/tests/unit-js.js index 27751d8..d0cb409 100644 --- a/tests/unit-js.js +++ b/tests/unit-js.js @@ -20,15 +20,15 @@ describe('Learning by the example', function(){ from: 'France' }; }) - // .then('test the "example" object', function(){ - // test - // .object(example) - // .hasValue('developer') - // .hasProperty('name') - // .hasProperty('from', 'France') - // .contains({message: 'hello world'}) - // ; - // }) + .then('test the "example" object', function(){ + test + .object(example) + .hasValue('developer') + .hasProperty('name') + .hasProperty('from', 'France') + .contains({message: 'hello world'}) + ; + }) .if(example = 'bad value') .error(function(){ example.badMethod(); @@ -37,8 +37,8 @@ describe('Learning by the example', function(){ }); it('other test case', function(){ test.assert(true); - test.assert(true); - test.assert(true); + test.assert(false); + test.assert(false); test.assert(true); }); });