diff --git a/test/stripHTMLTags/stripHTMLTags.test.js b/test/stripHTMLTags/stripHTMLTags.test.js index 71222ea7b..7aad3d6fe 100644 --- a/test/stripHTMLTags/stripHTMLTags.test.js +++ b/test/stripHTMLTags/stripHTMLTags.test.js @@ -5,9 +5,10 @@ test('Testing stripHTMLTags', (t) => { //For more information on all the methods supported by tape //Please go to https://github.com/substack/tape t.true(typeof stripHTMLTags === 'function', 'stripHTMLTags is a Function'); + t.equals(stripHTMLTags('

lorem ipsum


'), 'lorem ipsum', 'Removes HTML tags'); //t.deepEqual(stripHTMLTags(args..), 'Expected'); //t.equal(stripHTMLTags(args..), 'Expected'); //t.false(stripHTMLTags(args..), 'Expected'); //t.throws(stripHTMLTags(args..), 'Expected'); t.end(); -}); \ No newline at end of file +}); diff --git a/test/testlog b/test/testlog index b35b3cd12..4fcedcdc1 100644 --- a/test/testlog +++ b/test/testlog @@ -1,4 +1,4 @@ -Test log for: Sat Feb 03 2018 12:19:55 GMT+0200 (GTB Standard Time) +Test log for: Sat Feb 03 2018 12:21:49 GMT+0200 (GTB Standard Time) > 30-seconds-of-code@0.0.1 test G:\My Files\git Repositories\30-seconds-of-code > tape test/**/*.test.js | tap-spec @@ -1295,6 +1295,7 @@ Test log for: Sat Feb 03 2018 12:19:55 GMT+0200 (GTB Standard Time) Testing stripHTMLTags √ stripHTMLTags is a Function + √ Removes HTML tags Testing sum @@ -1641,8 +1642,8 @@ Test log for: Sat Feb 03 2018 12:19:55 GMT+0200 (GTB Standard Time) √ Works with multiple promises - total: 745 - passing: 745 + total: 746 + passing: 746 duration: 2.4s