Skip to content
代码片段 群组 项目
提交 8560c3c7 编辑于 作者: Roman Kuba's avatar Roman Kuba
浏览文件

Added exception for browser_spec file

上级 2a446191
No related branches found
No related tags found
无相关合并请求
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
def get_karma_files(files) def get_karma_files(files)
files.select do |file| files.select do |file|
file.start_with?('ee/spec/javascripts', 'spec/javascripts') file.start_with?('ee/spec/javascripts', 'spec/javascripts') &&
!file.end_with?('/browser_spec.js')
end end
end end
...@@ -15,7 +16,7 @@ unless new_karma_files.empty? ...@@ -15,7 +16,7 @@ unless new_karma_files.empty?
markdown(<<~MARKDOWN) markdown(<<~MARKDOWN)
## New karma spec file ## New karma spec file
New frontend specs should be New frontend specs ([except `browser_specs`](https://gitlab.com/gitlab-org/gitlab/blob/3b6fe2f1077eedb0b8aff02a7350234f0b7dc4f9/spec/javascripts/lib/utils/browser_spec.js#L2)) should be
[written in jest](https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html#jest). [written in jest](https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html#jest).
You have created the following tests, please migrate them over to jest: You have created the following tests, please migrate them over to jest:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册