Skip to content

Commit 8fb5d5b

Browse files
committed
update wording in tests
1 parent 217df5f commit 8fb5d5b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ga4/EventBuilder/ValidateEvent/schemas/eventTypes/custom.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe("customSchema", () => {
6262
expect(validator.isValid(validInput)).toEqual(true)
6363
})
6464

65-
test("does not allow other properties to exceed 100 characters", () => {
65+
test("does not allow other parameter values to exceed 100 characters", () => {
6666
const longString = "a".repeat(101)
6767
const invalidInput = { other_param: longString }
6868

src/components/ga4/EventBuilder/ValidateEvent/schemas/schemaBuilder.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("schemaBuilder", () => {
3131
expect(validator.isValid(event)).toBe(true)
3232
})
3333

34-
it("does not allow other properties to exceed 100 characters for recommended events", () => {
34+
it("does not allow other parameter values to exceed 100 characters for recommended events", () => {
3535
const validator = new Validator(schema)
3636
const event = {
3737
name: "login",

0 commit comments

Comments
 (0)