Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-02 15:18:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-02 15:18:53 +0300
commit51d59a3538b97d85ebb46039044d3f498809b55a (patch)
treed574af08cc1e2ef8fa8337a0850fa36a7b9ab527 /spec/frontend/profile
parent74da249f7e22c20e144ba3c044c6bdeb5df86cd4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/profile')
-rw-r--r--spec/frontend/profile/preferences/components/diffs_colors_spec.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/frontend/profile/preferences/components/diffs_colors_spec.js b/spec/frontend/profile/preferences/components/diffs_colors_spec.js
index e80851d0629..28fc01654b9 100644
--- a/spec/frontend/profile/preferences/components/diffs_colors_spec.js
+++ b/spec/frontend/profile/preferences/components/diffs_colors_spec.js
@@ -60,9 +60,12 @@ describe('DiffsColors component', () => {
});
it.each([
- [{}, '--diff-deletion-color: rgba(255,0,0,0.2); --diff-addition-color: rgba(0,255,0,0.2);'],
- [{ addition: null }, '--diff-deletion-color: rgba(255,0,0,0.2);'],
- [{ deletion: null }, '--diff-addition-color: rgba(0,255,0,0.2);'],
+ [
+ {},
+ '--diff-deletion-color: rgba(255, 0, 0, 0.2); --diff-addition-color: rgba(0, 255, 0, 0.2);',
+ ],
+ [{ addition: null }, '--diff-deletion-color: rgba(255, 0, 0, 0.2);'],
+ [{ deletion: null }, '--diff-addition-color: rgba(0, 255, 0, 0.2);'],
])('should set correct CSS variables', (provide, expectedStyle) => {
createComponent(provide);