More Qunit tests including a CLI runner

This commit is contained in:
Robin Ward
2013-06-18 13:44:20 -04:00
parent 8e96299653
commit 60fce196c7
11 changed files with 289 additions and 97 deletions

View File

@ -6,9 +6,12 @@ class DiscourseIIFE < Sprockets::Processor
path = context.pathname.to_s
# Only discourse or admin paths
return data unless (path =~ /\/javascripts\/discourse/ || path =~ /\/javascripts\/admin/)
return data unless (path =~ /\/javascripts\/discourse/ || path =~ /\/javascripts\/admin/ || path =~ /\/test\/javascripts/)
# Ugh, ignore translations
# Ignore the js helper
return data if (path =~ /test\_helper\.js/)
# Ignore translations
return data if (path =~ /\/translations/)
# We don't add IIFEs to handlebars