Skip to content

Commit 0b869bb

Browse files
committedJan 16, 2023
Revert: "test: make debugging names shorter and sweeter"
This reverts commit 42c1111.
1 parent dd9e567 commit 0b869bb

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 

Diff for: ‎test/integration/integration-node-interop.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import {
2222
import { expectSuccessAndOutput } from './test-expectations';
2323
import { withNodeTestInterop } from './test-interop';
2424

25-
const TEST_IDENTIFIER = 'node-interop';
26-
const debug = debugFactory(TEST_IDENTIFIER);
25+
const TEST_IDENTIFIER = 'integration-node-interop';
26+
const debug = debugFactory(`${pkgName}:${TEST_IDENTIFIER}`);
2727

2828
const pkgMainPath = `${__dirname}/../../${pkgExports['.'].default}`;
2929
const pkgPurePath = `${__dirname}/../../${pkgExports['./pure'].default}`;

Diff for: ‎test/integration/integration-node-smoke.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
type IMPORT_SPECIFIERS_UNDER_TEST
2222
} from './test-config';
2323

24-
const TEST_IDENTIFIER = 'node-smoke';
24+
const TEST_IDENTIFIER = 'integration-node-smoke';
2525
const TEST_TARGET: (typeof IMPORT_SPECIFIERS_UNDER_TEST)[number] = 'main'; // * Or: 'pure'
2626
const debug = debugFactory(`${pkgName}:${TEST_IDENTIFIER}`);
2727

Diff for: ‎test/setup.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ import type { Debugger } from 'debug';
3232
// TODO: ability to copy entire arbitrary directories recursively into fixture
3333
// TODO: root
3434

35-
const globalDebug = debugFactory('jest-setup');
35+
// TODO: change namespace to something short and sweet and without pkgName
36+
const globalDebug = debugFactory(`${pkgName}:jest-setup`);
3637

3738
globalDebug(`pkgName: "${pkgName}"`);
3839
globalDebug(`pkgVersion: "${pkgVersion}"`);

0 commit comments

Comments
 (0)
Please sign in to comment.