<commit_before>const { MongoClient } = require('mongodb');
const expect = require('expect');
const importFromGit = require('../lib/import');
const exportToGit = require('../lib/export');

const dbName = 'mongo-git-backup-test';
const repo = process.env.TRAVIS
    ? 'https://$GH_TOKEN@github.com/finom/github-embed.git'
    : '<EMAIL>:finom/mongo-git-backup.git';

const branch = 'test';

MongoClient.connect(`mongodb://localhost:27017/${dbName}`, async (err, db) => {
    if (err) {
        console.error(err);
        process.exit(1);
    }
<commit_msg>fix: Use another repo name at Travis 2<commit_after>const { MongoClient } = require('mongodb');
const expect = require('expect');
const importFromGit = require('../lib/import');
const exportToGit = require('../lib/export');

const dbName = 'mongo-git-backup-test';
const repo = process.env.TRAVIS
    ? 'https://$GH_TOKEN@github.com/finom/mongo-git-backup.git'
    : '<EMAIL>:finom/mongo-git-backup.git';

const branch = 'test';

MongoClient.connect(`mongodb://localhost:27017/${dbName}`, async (err, db) => {
    if (err) {
        console.error(err);
        process.exit(1);
    }

{'fraction_non_alphanumeric': 0.18788410886742757, 'fraction_numerical': 0.01141352063213345, 'mean_word_length': 3.935064935064935, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3545981', 'n_tokens_mistral': 404, 'n_tokens_neox': 387, 'n_words': 69}