Commit 48f61094 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'vs-use-it-instead-of-test-in-jest-fixup' into 'master'

Replace test with it in Jest specs

See merge request gitlab-org/gitlab!38515
parents 393556a1 d0c94921
...@@ -55,7 +55,7 @@ describe('Error message', () => { ...@@ -55,7 +55,7 @@ describe('Error message', () => {
'Upload skipped. Some of the designs you tried uploading did not change: 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg, and 2 more.', 'Upload skipped. Some of the designs you tried uploading did not change: 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg, and 2 more.',
], ],
])('designUploadSkippedWarning', (uploadedFiles, skippedFiles, expected) => { ])('designUploadSkippedWarning', (uploadedFiles, skippedFiles, expected) => {
test('returns expected warning message', () => { it('returns expected warning message', () => {
expect(designUploadSkippedWarning(uploadedFiles, skippedFiles)).toBe(expected); expect(designUploadSkippedWarning(uploadedFiles, skippedFiles)).toBe(expected);
}); });
}); });
......
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