summaryrefslogtreecommitdiff
path: root/.projections.json.example
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 09:08:42 +0000
commitb76ae638462ab0f673e5915986070518dd3f9ad3 (patch)
treebdab0533383b52873be0ec0eb4d3c66598ff8b91 /.projections.json.example
parent434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff)
downloadgitlab-ce-b76ae638462ab0f673e5915986070518dd3f9ad3.tar.gz
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to '.projections.json.example')
-rw-r--r--.projections.json.example40
1 files changed, 40 insertions, 0 deletions
diff --git a/.projections.json.example b/.projections.json.example
index 7ea0862f56a..326e9544392 100644
--- a/.projections.json.example
+++ b/.projections.json.example
@@ -15,6 +15,22 @@
"alternate": "lib/{}.rb",
"type": "test"
},
+ "lib/api/*.rb": {
+ "alternate": "spec/requests/api/{}_spec.rb",
+ "type": "source"
+ },
+ "spec/requests/api/*_spec.rb": {
+ "alternate": "lib/api/{}.rb",
+ "type": "test"
+ },
+ "ee/lib/api/*.rb": {
+ "alternate": "ee/spec/requests/api/{}_spec.rb",
+ "type": "source"
+ },
+ "ee/spec/requests/api/*_spec.rb": {
+ "alternate": "ee/lib/api/{}.rb",
+ "type": "test"
+ },
"ee/app/*.rb": {
"alternate": "ee/spec/{}_spec.rb",
"type": "source"
@@ -31,6 +47,30 @@
"alternate": "ee/lib/{}.rb",
"type": "test"
},
+ "app/assets/javascripts/*.js": {
+ "alternate": "spec/frontend/{}_spec.js",
+ "type": "source"
+ },
+ "app/assets/javascripts/*.vue": {
+ "alternate": "spec/frontend/{}_spec.js",
+ "type": "source"
+ },
+ "spec/frontend/*_spec.js": {
+ "alternate": ["app/assets/javascripts/{}.vue", "app/assets/javascripts/{}.js"],
+ "type": "test"
+ },
+ "ee/app/assets/javascripts/*.js": {
+ "alternate": "ee/spec/frontend/{}_spec.js",
+ "type": "source"
+ },
+ "ee/app/assets/javascripts/*.vue": {
+ "alternate": "ee/spec/frontend/{}_spec.js",
+ "type": "source"
+ },
+ "ee/spec/frontend/*_spec.js": {
+ "alternate": ["ee/app/assets/javascripts/{}.vue", "ee/app/assets/javascripts/{}.js"],
+ "type": "test"
+ },
"*.rb": {"dispatch": "bundle exec rubocop {file}"},
"*_spec.rb": {"dispatch": "bundle exec rspec {file}"}
}