Skip to content

Commit

Permalink
Enforce expectation names uniqueness in CheckResultOutline test (#1549)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonkopliku authored Jun 20, 2023
1 parent ed5bd0c commit 343ed1b
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ describe('CheckResultOutline Component', () => {
const checkID = faker.datatype.uuid();
const clusterName = faker.lorem.word();

const expectationName1 = faker.company.name();
const expectationName2 = faker.color.human();
const expectationName3 = faker.color.human();
const expectSameExpectationName1 = faker.lorem.word();
const expectSameExpectationName2 = faker.lorem.word();
// expectation names are not required to be uuids. using uuids for their uniqueness.
const expectationName1 = faker.datatype.uuid();
const expectationName2 = faker.datatype.uuid();
const expectationName3 = faker.datatype.uuid();
const expectSameExpectationName1 = faker.datatype.uuid();
const expectSameExpectationName2 = faker.datatype.uuid();

const expectations = [
catalogExpectExpectationFactory.build({
Expand Down

0 comments on commit 343ed1b

Please sign in to comment.