Skip to content

Commit c8ffdf6

Browse files
committed
style: update debug identifiers in setup and teardown files
1 parent b7e388a commit c8ffdf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"typescript": "5.8.3"
6363
},
6464
"peerDependencies": {
65-
"jest-environment-node": "28.x || 29.x",
65+
"jest-environment-node": "28.x || 29.x || 30.x",
6666
"mongodb": "3.x.x || 4.x || 5.x || 6.x || 7.x"
6767
},
6868
"engines": {

src/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
import {isMongoMemoryReplSetOptions} from './helpers';
1313

1414
// eslint-disable-next-line @typescript-eslint/no-require-imports
15-
const debug = require('debug')('jest-mongodb:environment');
15+
const debug = require('debug')('jest-mongodb:setup');
1616

1717
module.exports = async (config: JestEnvironmentConfig['globalConfig']) => {
1818
const globalConfigPath = join(config.rootDir, 'globalConfig.json');

src/teardown.ts

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

55
// eslint-disable-next-line @typescript-eslint/no-require-imports
6-
const debug = require('debug')('jest-mongodb:environment');
6+
const debug = require('debug')('jest-mongodb:teardown');
77

88
module.exports = async function (config: JestEnvironmentConfig['globalConfig']) {
99
const globalConfigPath = join(config.rootDir, 'globalConfig.json');

0 commit comments

Comments
 (0)