From a655a9a17ff031ec7c4a204e78a63743e4644e4c Mon Sep 17 00:00:00 2001 From: taoqf Date: Mon, 27 Jan 2020 15:59:48 +0800 Subject: [PATCH] add tests --- .mocharc.yaml | 1 + test/html.js | 18 ++++++++++++++---- test/mocha.opts | 3 --- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .mocharc.yaml delete mode 100644 test/mocha.opts diff --git a/.mocharc.yaml b/.mocharc.yaml new file mode 100644 index 0000000..efb9b14 --- /dev/null +++ b/.mocharc.yaml @@ -0,0 +1 @@ +require: blanket,should,spec diff --git a/test/html.js b/test/html.js index aed01ad..6a8721e 100644 --- a/test/html.js +++ b/test/html.js @@ -345,11 +345,21 @@ describe('HTML Parser', function () { var root = parseHTML('