Skip to content

Commit e7bc81d

Browse files
committed
validation check
1 parent 43c4f35 commit e7bc81d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib/schemaValidation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,14 @@ const SnapshotSchema: JSONSchemaType<Snapshot> = {
513513
timeout: {
514514
type: "number",
515515
errorMessage: "Invalid snapshot options; timeout must be a number"
516+
},
517+
approvalThreshold: {
518+
type: "number",
519+
errorMessage: "Invalid snapshot options; approvalThreshold must be a number"
520+
},
521+
rejectionThreshold: {
522+
type: "number",
523+
errorMessage: "Invalid snapshot options; rejectionThreshold must be a number"
516524
}
517525
},
518526
additionalProperties: false

0 commit comments

Comments
 (0)