Skip to content

ci(NODE-6712): fix broken tests against latest driver #278

ci(NODE-6712): fix broken tests against latest driver

ci(NODE-6712): fix broken tests against latest driver #278

Triggered via pull request February 4, 2025 18:03
Status Failure
Total duration 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
check: test/unit/api.test.js#L40
Replace `'GridFSBucketWriteStream',` with `⏎····'GridFSBucketWriteStream',⏎···`
check: test/unit/api.test.js#L41
Replace `····const·stream·=·new·mongodbLegacy.GridFSBucket(db).openUploadStream('file')` with `······const·stream·=·new·mongodbLegacy.GridFSBucket(db).openUploadStream('file');`
check: test/unit/api.test.js#L42
Replace `····stream.on('error',·()·=>·{·` with `······stream.on('error',·()·=>·{`
check: test/unit/api.test.js#L43
Insert `··`
check: test/unit/api.test.js#L44
Replace `}` with `··}⏎··`
check
Process completed with exit code 1.