Skip to content

Commit

Permalink
Update models.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
IslandRhythms committed Feb 14, 2024
1 parent 648239d commit 4675671
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/types/models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -896,9 +896,7 @@ function gh4727() {
const users = [{ _id: new mongoose.Types.ObjectId(), name: 'Val' }];
const company = { _id: new mongoose.Types.ObjectId(), name: 'Booster', users: [users[0]] };

expectType<ReturnType<(typeof Company)['hydrate']> | null>(
Company.hydrate(company, null, { hydratedPopulatedDocs: true })
);
return Company.hydrate(company, {}, { hydratedPopulatedDocs: true })

Check failure on line 899 in test/types/models.test.ts

View workflow job for this annotation

GitHub Actions / Lint TS-Files

Missing semicolon

Check failure on line 899 in test/types/models.test.ts

View workflow job for this annotation

GitHub Actions / Lint TS-Files

Missing semicolon

Check failure on line 899 in test/types/models.test.ts

View workflow job for this annotation

GitHub Actions / Lint TS-Files

Missing semicolon

Check failure on line 899 in test/types/models.test.ts

View workflow job for this annotation

GitHub Actions / Lint TS-Files

Missing semicolon


}

0 comments on commit 4675671

Please sign in to comment.