Skip to content

Commit 025a094

Browse files
committed
Fixed linting
1 parent 6cb6791 commit 025a094

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ debug(`isReplSet`, isReplSet);
1919
const mongo = isReplSet ? new MongoMemoryReplSet(options) : new MongoMemoryServer(options);
2020

2121
module.exports = class MongoEnvironment extends TestEnvironment {
22-
globalConfigPath: string
22+
globalConfigPath: string;
2323
constructor(config: JestEnvironmentConfig, context: EnvironmentContext) {
2424
super(config, context);
2525
this.globalConfigPath = pathJoin(config.projectConfig.rootDir, 'globalConfig.json');

src/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import {writeFileSync} from 'fs';
33
import {join} from 'path';
44
import {MongoMemoryReplSet, MongoMemoryServer} from 'mongodb-memory-server';
5+
import type {JestEnvironmentConfig} from '@jest/environment';
56
import {
67
getMongoURLEnvName,
78
getMongodbMemoryOptions,
89
shouldUseSharedDBForAllJestWorkers,
910
} from './helpers';
1011
import type {Mongo} from './types';
11-
import type { JestEnvironmentConfig } from '@jest/environment'
1212

1313
const debug = require('debug')('jest-mongodb:setup');
1414
const mongoMemoryServerOptions = getMongodbMemoryOptions();

src/teardown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {join} from 'path';
22
import {unlink} from 'fs';
3-
import type { JestEnvironmentConfig } from '@jest/environment'
3+
import type {JestEnvironmentConfig} from '@jest/environment';
44

55
const debug = require('debug')('jest-mongodb:teardown');
66

0 commit comments

Comments
 (0)