Skip to content

Commit

Permalink
docs: add missing test case
Browse files Browse the repository at this point in the history
closes #66
  • Loading branch information
JeelRajodiya committed Sep 9, 2024
1 parent f9f54ba commit e473bfd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/05-Conditional-Validation/04-if-then-keyword/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ solution = {
const: true,
},
},
"required": ["isStudent"],
},
then: {
required: ["age"],
Expand Down Expand Up @@ -69,6 +70,12 @@ const testCases = [
},
expected: true,
},
{
input: {
name: "John Doe"
},
expected: true,
}
];

module.exports = {
Expand Down

0 comments on commit e473bfd

Please sign in to comment.