Commit fc6cbcbb authored by Winnie Hellmann's avatar Winnie Hellmann

Add spec/frontend/ to frontend roulette

parent 3de4c8d0
...@@ -106,13 +106,13 @@ module Gitlab ...@@ -106,13 +106,13 @@ module Gitlab
%r{\A(ee/)?app/(assets|views)/} => :frontend, %r{\A(ee/)?app/(assets|views)/} => :frontend,
%r{\A(ee/)?public/} => :frontend, %r{\A(ee/)?public/} => :frontend,
%r{\A(ee/)?spec/javascripts/} => :frontend, %r{\A(ee/)?spec/(javascripts|frontend)/} => :frontend,
%r{\A(ee/)?vendor/assets/} => :frontend, %r{\A(ee/)?vendor/assets/} => :frontend,
%r{\A(jest\.config\.js|package\.json|yarn\.lock)\z} => :frontend, %r{\A(jest\.config\.js|package\.json|yarn\.lock)\z} => :frontend,
%r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend, %r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend,
%r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend, %r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend,
%r{\A(ee/)?spec/(?!javascripts)[^/]+} => :backend, %r{\A(ee/)?spec/(?!javascripts|frontend)[^/]+} => :backend,
%r{\A(ee/)?vendor/(?!assets)[^/]+} => :backend, %r{\A(ee/)?vendor/(?!assets)[^/]+} => :backend,
%r{\A(ee/)?vendor/(languages\.yml|licenses\.csv)\z} => :backend, %r{\A(ee/)?vendor/(languages\.yml|licenses\.csv)\z} => :backend,
%r{\A(Dangerfile|Gemfile|Gemfile.lock|Procfile|Rakefile|\.gitlab-ci\.yml)\z} => :backend, %r{\A(Dangerfile|Gemfile|Gemfile.lock|Procfile|Rakefile|\.gitlab-ci\.yml)\z} => :backend,
......
...@@ -217,6 +217,7 @@ describe Gitlab::Danger::Helper do ...@@ -217,6 +217,7 @@ describe Gitlab::Danger::Helper do
'app/views/foo' | :frontend 'app/views/foo' | :frontend
'public/foo' | :frontend 'public/foo' | :frontend
'spec/javascripts/foo' | :frontend 'spec/javascripts/foo' | :frontend
'spec/frontend/bar' | :frontend
'vendor/assets/foo' | :frontend 'vendor/assets/foo' | :frontend
'jest.config.js' | :frontend 'jest.config.js' | :frontend
'package.json' | :frontend 'package.json' | :frontend
...@@ -225,6 +226,7 @@ describe Gitlab::Danger::Helper do ...@@ -225,6 +226,7 @@ describe Gitlab::Danger::Helper do
'ee/app/assets/foo' | :frontend 'ee/app/assets/foo' | :frontend
'ee/app/views/foo' | :frontend 'ee/app/views/foo' | :frontend
'ee/spec/javascripts/foo' | :frontend 'ee/spec/javascripts/foo' | :frontend
'ee/spec/frontend/bar' | :frontend
'app/models/foo' | :backend 'app/models/foo' | :backend
'bin/foo' | :backend 'bin/foo' | :backend
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment