style-parser
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "style-parser", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "css style parser in Node.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "node test.js" | ||
"test": "./node_modules/.bin/istanbul cover test.js" | ||
}, | ||
@@ -15,4 +15,5 @@ "author": "Yorkie Liu <yorkiefixer@gmail.com>", | ||
"devDependencies": { | ||
"istanbul": "^0.4.3", | ||
"tape": "^4.5.1" | ||
} | ||
} |
@@ -6,2 +6,3 @@ # style-parser | ||
[![Dependency Status][david-image]][david-url] | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![Downloads][downloads-image]][downloads-url] | ||
@@ -73,2 +74,4 @@ | ||
[travis-url]: https://travis-ci.org/weflex/style-parser | ||
[coveralls-image]: https://img.shields.io/codecov/c/github/weflex/style-parser.svg?style=flat-square | ||
[coveralls-url]: https://codecov.io/github/weflex/style-parser?branch=master | ||
[david-image]: http://img.shields.io/david/weflex/style-parser.svg?style=flat-square | ||
@@ -75,0 +78,0 @@ [david-url]: https://david-dm.org/weflex/style-parser |
@@ -32,1 +32,7 @@ 'use strict'; | ||
}); | ||
// test failure | ||
test('test parse error', t => { | ||
t.throws(() => parse('foobar'), SyntaxError, 'should throw a syntax error'); | ||
t.end(); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4460
67
79
2