<commit_before>const mongodb = require('mongodb')

const dbUri = process.env.DB_URI || 'mongodb://localhost/migro'

let db

async function getConnection () {
  if (!db) {
    db = await mongodb.connect(dbUri)
  }

  return db
}

module.exports = {
  getConnection
}<commit_msg>update mongodb db name in test helper<commit_after>const mongodb = require('mongodb')

const dbUri = process.env.DB_URI || 'mongodb://localhost/adbm'

let db

async function getConnection () {
  if (!db) {
    db = await mongodb.connect(dbUri)
  }

  return db
}

module.exports = {
  getConnection
}
{'fraction_non_alphanumeric': 0.12478336221837089, 'fraction_numerical': 0.0, 'mean_word_length': 3.857142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3789231', 'n_tokens_mistral': 208, 'n_tokens_neox': 195, 'n_words': 48}