Skip to content

Commit

Permalink
feat: Add a test case to require-valid-default-prop (#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryehb authored Jan 8, 2025
1 parent 4baf3ab commit f62fde6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/rules/require-valid-default-prop.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ ruleTester.run('require-valid-default-prop', rule, {
foo: { type: String, default () { return Foo } },
foo: { type: Number, default () { return Foo } },
foo: { type: Object, default () { return Foo } },
foo: { type: Object, default: null },
}
})`,
languageOptions
Expand Down

0 comments on commit f62fde6

Please sign in to comment.