Skip to content

Commit a0ad3d2

Browse files
committed
fix tests
1 parent 2c3e57f commit a0ad3d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/input_schema.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ describe('input_schema.json', () => {
413413
},
414414
};
415415
expect(() => validateInputSchema(validator, schema)).toThrow(
416-
'Input schema is not valid (Field schema.properties.myField.0 must be equal to one of the allowed values: "READ", "WRITE")',
416+
// eslint-disable-next-line max-len
417+
'Input schema is not valid (Field schema.properties.myField.resourcePermissions.0 must be equal to one of the allowed values: "READ", "WRITE")',
417418
);
418419

419420
const schema2 = {
@@ -431,7 +432,8 @@ describe('input_schema.json', () => {
431432
},
432433
};
433434
expect(() => validateInputSchema(validator, schema2)).toThrow(
434-
'Input schema is not valid (Field schema.properties.myFieldArray.0 must be equal to one of the allowed values: "READ", "WRITE")',
435+
// eslint-disable-next-line max-len
436+
'Input schema is not valid (Field schema.properties.myFieldArray.resourcePermissions.0 must be equal to one of the allowed values: "READ", "WRITE")',
435437
);
436438
});
437439

0 commit comments

Comments
 (0)