DEV: watch more test directories (#11346)

Much has moved and autospec stopped picking up certain tests.
This commit is contained in:
Sam 2020-11-25 22:12:23 +11:00 committed by GitHub
parent abb89475a3
commit f5945efae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ module Autospec
watch(%r{^app/assets/javascripts/discourse/(.+)\.js$}) { |m| "test/javascripts/#{m[1]}-test.js" }
watch(%r{^app/assets/javascripts/admin/(.+)\.js$}) { |m| "test/javascripts/admin/#{m[1]}-test.js" }
watch(%r{^test/javascripts/.+\.js$})
watch(%r{^app/assets/javascripts/discourse/tests/.+\.js$})
RELOADERS = Set.new
def self.reload(pattern)