aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 20:44:20 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 20:44:20 +0100
commitbaf9808eae3441de70a00cd043e10e0ebf06b7c0 (patch)
tree869bcc8376caf7b730f501472d507e816733e565 /test/style-reader.tests.js
parentb5768bced10c6dafe8bc621c6ef01aa0bd9d975c (diff)
Add HTML path for ignoring elements
Diffstat (limited to 'test/style-reader.tests.js')
-rw-r--r--test/style-reader.tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js
index 7265e8f..46a9fa1 100644
--- a/test/style-reader.tests.js
+++ b/test/style-reader.tests.js
@@ -54,6 +54,10 @@ describe('styleReader.readHtmlPath', function() {
assertHtmlPath("p:fresh", expected);
});
+ test('reads ignore element', function() {
+ assertHtmlPath("!", htmlPaths.ignore);
+ });
+
function assertHtmlPath(input, expected) {
assert.deepEqual(readHtmlPath(input), results.success(expected));
}