mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 23:02:45 +08:00
DEV: watch more test directories (#11346)
Much has moved and autospec stopped picking up certain tests.
This commit is contained in:
parent
abb89475a3
commit
f5945efae7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user