Commit 08b4e70e authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'vs-prepare-tests-for-jest-update' into 'master'

Prepare tag_field_new_spec for Jest 26

See merge request gitlab-org/gitlab!39426
parents 43aa71eb 2d843478
...@@ -55,7 +55,7 @@ describe('releases/components/tag_field_new', () => { ...@@ -55,7 +55,7 @@ describe('releases/components/tag_field_new', () => {
describe('"Tag name" field', () => { describe('"Tag name" field', () => {
describe('rendering and behavior', () => { describe('rendering and behavior', () => {
beforeEach(createComponent); beforeEach(() => createComponent());
it('renders a label', () => { it('renders a label', () => {
expect(findTagNameFormGroup().attributes().label).toBe('Tag name'); expect(findTagNameFormGroup().attributes().label).toBe('Tag name');
...@@ -124,7 +124,7 @@ describe('releases/components/tag_field_new', () => { ...@@ -124,7 +124,7 @@ describe('releases/components/tag_field_new', () => {
}); });
describe('"Create from" field', () => { describe('"Create from" field', () => {
beforeEach(createComponent); beforeEach(() => createComponent());
it('renders a label', () => { it('renders a label', () => {
expect(findCreateFromFormGroup().attributes().label).toBe('Create from'); expect(findCreateFromFormGroup().attributes().label).toBe('Create from');
......
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