Skip to content

Resolve "Standardize jasmine test describe block names that test specific methods"

What does this MR do?

Implements the decision made in #28794 (closed) where the team decided that

Describe block names should be the same as the method name

// Good
describe('methodName', () => {
  it('passes', () => {
    expect(true).toEqual(true);
  });
});

// Bad
describe('#methodName', () => {
  it('passes', () => {
    expect(true).toEqual(true);
  });
});

// Bad
describe('.methodName', () => {
  it('passes', () => {
    expect(true).toEqual(true);
  });
});

Are there points in the code the reviewer needs to double check?

Shouldn't be

Why was this MR needed?

Improves consistency of FE code

Screenshots (if relevant)

None

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #28794 (closed)

Merge request reports