Skip to content

[Tests] No tests for Schema.prototype.plugin with options #12077

Closed
@hasezoey

Description

@hasezoey

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

From what i can tell, there are currently no tests testing that Schema.prototype.plugin can have options:

const sch = new mongoose.Schema();
sch.plugin((schema, opts) => void, { someoption: 1 });

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is due to a mistake or omission in the mongoosejs.com documentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions