Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 10, 2024
1 parent 6882652 commit ccfa1c3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/functional/ingestion/IngestionReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,13 @@ describe('ingestion reader tests with mock', function fD() {
const topic = testConfig.extensions.ingestion.topic;
async.waterfall([
next => {
const client = new MongoClient(mongoUrl);
client.connect().then(cl => {
this.client = cl;
const client = new MongoClient(mongoUrl,{

Check failure on line 115 in tests/functional/ingestion/IngestionReader.js

View workflow job for this annotation

GitHub Actions / tests

A space is required after ','
replicaSet: 'rs0',
useNewUrlParser: true,
readPreference: 'primary',
} );

Check warning on line 119 in tests/functional/ingestion/IngestionReader.js

View workflow job for this annotation

GitHub Actions / tests

There should be no space before this paren
client.connect().then(client => {
this.client = client;
this.db = this.client.db('metadata', {
ignoreUndefined: true,
});
Expand Down

0 comments on commit ccfa1c3

Please sign in to comment.