Closed mikepack closed 9 years ago
Looks good to me. Side note about documenting in the wiki so it's captured there.
A note to anyone coming to this PR wondering why their .js.es6
specs are not running... You have to set your matcher to include them.
suite.matcher = '{spec/javascripts,app/assets}/**/*_spec.{js,js.es6,js.coffee,coffee}'
@jejacks0n, I'd say this may be a bug, or at least unexpected. If you look in configuration.rb:69 you see
@matcher = "{spec/javascripts,app/assets}/**/*_spec.{js,js.coffee,coffee}"
But that disagrees with configuration.rb:79
@js_extensions = [/(\.js)?\.coffee/, /(\.js)?\.es6/, ".es6.js"]
One supports es6
, and one doesn't. Shouldn't they both match the same suffixes?
happy to get a PR.
Great, just checking I hadn't missed anything. Created: https://github.com/modeset/teaspoon/pull/488
In lieu of #391.
@jejacks0n :eyes: please :heart: