Skip to content

Commit 1080f27

Browse files
author
John Doe
committed
refactor: adjust comments
1 parent d7680b6 commit 1080f27

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/utils/src/lib/performance-observer.int.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
} from './performance-observer.js';
77
import type { Sink } from './sink-source.types';
88

9+
// @TODO remove duplicate when file-sink is implemented
910
class MockSink implements Sink<string, string> {
1011
private writtenItems: string[] = [];
1112
private closed = false;

packages/utils/src/lib/performance-observer.unit.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
} from './performance-observer.js';
1515
import type { Sink } from './sink-source.types';
1616

17+
// @TODO remove duplicate when file-sink is implemented
1718
class MockSink implements Sink<string, string> {
1819
private writtenItems: string[] = [];
1920
private closed = false;
@@ -41,10 +42,6 @@ class MockSink implements Sink<string, string> {
4142
getWrittenItems(): string[] {
4243
return [...this.writtenItems];
4344
}
44-
45-
clearWrittenItems(): void {
46-
this.writtenItems = [];
47-
}
4845
}
4946

5047
describe('PerformanceObserverSink', () => {

0 commit comments

Comments
 (0)