Skip to content

Commit 3d1de2a

Browse files
committed
prune required MinimalChannelInterface
1 parent db828f9 commit 3d1de2a

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/__testUtils__/diagnosticsTestUtils.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ export async function expectNoTracingActivity<T>(
6565
fn: () => T | Promise<T>,
6666
): Promise<Awaited<T>> {
6767
expect(channel.hasSubscribers).to.equal(false);
68-
expect(channel.start.hasSubscribers).to.equal(false);
69-
expect(channel.end.hasSubscribers).to.equal(false);
70-
expect(channel.asyncStart.hasSubscribers).to.equal(false);
71-
expect(channel.asyncEnd.hasSubscribers).to.equal(false);
72-
expect(channel.error.hasSubscribers).to.equal(false);
7368

7469
const calls: Array<string> = [];
7570
const restore: Array<() => void> = [];

src/diagnostics.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import { isPromise } from './jsutils/isPromise.js';
2020
* @internal
2121
*/
2222
export interface MinimalChannel {
23-
readonly hasSubscribers: boolean;
2423
publish: (message: unknown) => void;
2524
runStores: <T, ContextType extends object>(
2625
context: ContextType,

0 commit comments

Comments
 (0)