Commit a6a2655a authored by Mark Florian's avatar Mark Florian

Correctly categorise frontend_integration files

parent f6512ad6
...@@ -62,6 +62,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do ...@@ -62,6 +62,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'scripts/frontend/foo' | [:frontend] 'scripts/frontend/foo' | [:frontend]
'spec/javascripts/foo' | [:frontend] 'spec/javascripts/foo' | [:frontend]
'spec/frontend/bar' | [:frontend] 'spec/frontend/bar' | [:frontend]
'spec/frontend_integration/bar' | [:frontend]
'vendor/assets/foo' | [:frontend] 'vendor/assets/foo' | [:frontend]
'babel.config.js' | [:frontend] 'babel.config.js' | [:frontend]
'jest.config.js' | [:frontend] 'jest.config.js' | [:frontend]
...@@ -74,6 +75,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do ...@@ -74,6 +75,7 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'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] 'ee/spec/frontend/bar' | [:frontend]
'ee/spec/frontend_integration/bar' | [:frontend]
'.gitlab/ci/frontend.gitlab-ci.yml' | %i[frontend engineering_productivity] '.gitlab/ci/frontend.gitlab-ci.yml' | %i[frontend engineering_productivity]
......
...@@ -49,7 +49,7 @@ module Tooling ...@@ -49,7 +49,7 @@ module Tooling
)\z}x => [:frontend, :product_intelligence], )\z}x => [:frontend, :product_intelligence],
%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)/} => :frontend, %r{\A(ee/)?spec/(javascripts|frontend|frontend_integration)/} => :frontend,
%r{\A(ee/)?vendor/assets/} => :frontend, %r{\A(ee/)?vendor/assets/} => :frontend,
%r{\A(ee/)?scripts/frontend/} => :frontend, %r{\A(ee/)?scripts/frontend/} => :frontend,
%r{(\A|/)( %r{(\A|/)(
......
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