diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/style-reader.tests.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js index 28df434..df32839 100644 --- a/tests/style-reader.tests.js +++ b/tests/style-reader.tests.js @@ -11,6 +11,10 @@ var readStyle = styleReader.readStyle; describe('styleReader.readHtmlPath', function() { + test('reads empty path', function() { + assert.deepEqual(readHtmlPath(""), htmlPaths.empty); + }); + test('reads single element', function() { assert.deepEqual(readHtmlPath("p"), htmlPaths.elements(["p"])); }); |
