mocha-shopify-lint
v1.0.0
Published
run theme-lint as mocha tests
Downloads
5
Readme
mocha-shopify-lint
Runs theme-lint as mocha tests.
Install
$ npm install mocha-shopify-lint --save-dev
Usage
Syntax:
mochaShopifyLint(patters)
Where patterns is an array of glob patterns.
Example:
shopify-lint.spec.js
const mochaShopifyLint = require('mocha-shopify-lint')
mochaShopifyLint(['./test/files/**/*.liquid'])