diff options
Diffstat (limited to 'test/postprocessor_test.js')
-rw-r--r-- | test/postprocessor_test.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/postprocessor_test.js b/test/postprocessor_test.js index ad47242..9b5fc4d 100644 --- a/test/postprocessor_test.js +++ b/test/postprocessor_test.js @@ -1,4 +1,4 @@ -/*eslint-env node */ +/* eslint-env node */ 'use strict'; var postprocessor = require('../src/nodejs/postprocessor.js'); @@ -140,18 +140,18 @@ exports.mq4HoverShim = { 'errors when hoverSelectorPrefix is not provided': function (test) { test.expect(1); test.throws(function () { - /*eslint-disable no-unused-expressions */ + /* eslint-disable no-unused-expressions */ postprocessor({}).process("@media (hover: hover) { .foobar { display: none; } }").css;// jshint ignore:line - /*eslint-enable no-unused-expressions */ + /* eslint-enable no-unused-expressions */ }, Error, 'hoverSelectorPrefix option must be a string'); test.done(); }, 'errors when hoverSelectorPrefix is not a string': function (test) { test.expect(1); test.throws(function () { - /*eslint-disable no-unused-expressions */ + /* eslint-disable no-unused-expressions */ postprocessor({hoverSelectorPrefix: 42}).process("@media (hover: hover) { .foobar { display: none; } }").css;// jshint ignore:line - /*eslint-enable no-unused-expressions */ + /* eslint-enable no-unused-expressions */ }, Error, 'hoverSelectorPrefix option must be a string'); test.done(); } |