mocha-shopify-lint

v1.0.0
run theme-lint as mocha tests

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'])
npm i mocha-shopify-lint

Metadata

  • MIT
  • Whatever
  • Miguel Palau
  • released 7/12/2017

Downloads

Maintainers