(key, options)
| 14767 | it('supports global transforms per schematype (gh-15084)', async function() { |
| 14768 | class SchemaCustomType extends mongoose.SchemaType { |
| 14769 | constructor(key, options) { |
| 14770 | super(key, options, 'CustomType'); |
| 14771 | } |
| 14772 | |
| 14773 | cast(value) { |
| 14774 | if (value === null) return null; |
nothing calls this directly
no outgoing calls
no test coverage detected