Skip to content

Commit

Permalink
test trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
lpizzinidev committed Nov 3, 2022
1 parent 9789338 commit 1ff2654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/model.discriminator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2054,6 +2054,7 @@ describe('model', function() {
'Triangle',
triangleSchema
);

const squareSchema = Schema({ ...shapeDef, sides: { type: Number, enum: [4] } });
squareSchema.plugin(myPlugin, { opts3: true });
const Square = Shape.discriminator(
Expand Down

0 comments on commit 1ff2654

Please sign in to comment.