(key, options)
| 15257 | it('supports global transforms per schematype (gh-15084)', async function() { |
| 15258 | class SchemaCustomType extends mongoose.SchemaType { |
| 15259 | constructor(key, options) { |
| 15260 | super(key, options, 'CustomType'); |
| 15261 | } |
| 15262 | |
| 15263 | cast(value) { |
| 15264 | if (value === null) return null; |
nothing calls this directly
no outgoing calls
no test coverage detected