Skip to content

Commit 22ea50f

Browse files
committedFeb 13, 2017
lint tests with jscs
1 parent f301dcb commit 22ea50f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"scripts": {
4343
"test": "mocha --reporter dot",
44-
"codestyle": "jscs lib && eslint lib test",
44+
"codestyle": "jscs lib test && eslint lib test",
4545
"codestyle-and-test": "npm run codestyle && npm test",
4646
"hydrogen": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --trace_hydrogen_file=code.cfg --print-opt-code bin/csso --stat -o /dev/null",
4747
"coverage": "istanbul cover _mocha -- -R dot",

‎test/plugins.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('plugins', function() {
66
it('calls beforeCompress when it is a function', function() {
77
var called = true;
88
var ast = csso.minify(css, {
9-
beforeCompress: function (ast, options) {
9+
beforeCompress: function(ast, options) {
1010
assert(ast);
1111
assert(options);
1212
called = true;
@@ -19,7 +19,7 @@ describe('plugins', function() {
1919

2020
it('calls beforeCompress when it is an array', function() {
2121
var called = [false, false];
22-
var pluginFactory = function (index) {
22+
var pluginFactory = function(index) {
2323
return function callback(ast, options) {
2424
assert(ast);
2525
assert(options);
@@ -38,7 +38,7 @@ describe('plugins', function() {
3838
it('calls afterCompress when it is a function', function() {
3939
var called = true;
4040
var ast = csso.minify(css, {
41-
afterCompress: function (compressResult, options) {
41+
afterCompress: function(compressResult, options) {
4242
assert(compressResult);
4343
assert(compressResult.ast);
4444
assert(options);
@@ -52,7 +52,7 @@ describe('plugins', function() {
5252

5353
it('calls afterCompress when it is an array', function() {
5454
var called = [false, false];
55-
var pluginFactory = function (index) {
55+
var pluginFactory = function(index) {
5656
return function callback(compressResult, options) {
5757
assert(compressResult);
5858
assert(compressResult.ast);

0 commit comments

Comments
 (0)
Please sign in to comment.