From baf9808eae3441de70a00cd043e10e0ebf06b7c0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 20:44:20 +0100 Subject: Add HTML path for ignoring elements --- test/style-reader.tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/style-reader.tests.js') 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)); } -- cgit v1.2.3