jsdom / cssstyle

A Node.js implementation of the CSS Object Model CSSStyleDeclaration interface
MIT License
109 stars 70 forks source link

cross-platform `npm test` script #62

Closed reyronald closed 6 years ago

reyronald commented 6 years ago

The previous npm test script executed a .sh file that isn't natively supported by Windows.

Since the actual code inside the .sh is pretty small, it can be completely embedded inside a npm script instead, making it cross-platform and more straight-forward.

This is a suggestion, if there are specific reasons why this should be in a .sh file as it was, disregard this PR.

jsakas commented 6 years ago

@reyronald thanks for the PR. No reason specifically that I am aware of except that the original author was developing on *nix.