Skip to content

Commit 7ce2da0

Browse files
committed
switch to import type
1 parent 4dcda30 commit 7ce2da0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
shouldUseSharedDBForAllJestWorkers,
99
} from './helpers';
1010
import type {Mongo} from './types';
11-
import { JestEnvironmentConfig } from '@jest/environment'
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 { 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)