• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

opengovsg / FormSG / 15725012409
72%

Build:
DEFAULT BRANCH: develop
Ran 18 Jun 2025 06:08AM UTC
Jobs 1
Files 406
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jun 2025 05:53AM UTC coverage: 72.155% (+0.003%) from 72.152%
15725012409

push

github

web-flow
chore: mongoose version upgrade (#8436)

* upgrade mongoose version on package.json

* removed LeanDocument usage from myinfo.ts

* removed promiseLibrary from dbConfig connectOptions in config.ts

* add package-lock.json updates after install

* removed unused ts-expect-error in session.ts

* explicitly define schema options for formSchemaOptions in form.server.model.ts

* installed mongodb package to ues mongoError in user.server.model.ts

* replace LeanDocument with FlattenMaps

* remove explicit formschema options in form.server.model.ts

* replace leandocument with flattenMaps on form.server.model.ts

* bump bson package

* cast FlattenMaps<IFieldSchema[]> as a PossiblyPrefilledField

* add emails to MOCK_ENCRYPT_OVERRIDE_PARAMS to resolve typing error

* add id: false explicitly as a schema option in encryptedformschema

* bump mongoose to v7.8 for mongodb v5.9.2 compatibility

* update import of mongodb error

* created subschemas for encryptmodeschema due to mongoose stricter typing

* remove promiseLibrary from globalSetup.ts

* reverted unecessary schema creations for encryptedformschema

* removed unused new schemas

* replace ObjectID with ObjectId for user.service.spec.ts

* instantiate mongoose.Types.ObjectId with new for analytics.service.spec.ts

* replace remove() with deleteOne() for public-forms.verification.routes.spec.ts

* converting pendingSubmission.toObject in order to omit _id for explicit management

2913 of 4915 branches covered (59.27%)

Branch coverage included in aggregate %.

8 of 9 new or added lines in 5 files covered. (88.89%)

10471 of 13634 relevant lines covered (76.8%)

47.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.62
0.0% src/app/modules/myinfo/myinfo.service.ts
Jobs
ID Job ID Ran Files Coverage
1 15725012409.1 18 Jun 2025 06:08AM UTC 406
72.15
GitHub Action Run
Source Files on build 15725012409
  • Tree
  • List 406
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15725012409
  • 5e6984f8 on github
  • Prev Build on develop (#15724751786)
  • Next Build on develop (#15754606703)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc