Skip to content

Commit 953a3e7

Browse files
committed
refactor: wip
1 parent cb766a7 commit 953a3e7

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

packages/utils/src/lib/profiler/wal-json-trace.unit.test.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,8 @@ describe('traceEventWalFormat', () => {
230230
});
231231
});
232232

233-
it('should create WAL format with custom directory', () => {
234-
const format = traceEventWalFormat({ dir: '/custom/path' });
235-
236-
expect(format.baseName).toBe('trace');
237-
expect(format.walExtension).toBe('.jsonl');
238-
expect(format.finalExtension).toBe('.json');
239-
});
240-
241-
it('should create WAL format with groupId', () => {
242-
const format = traceEventWalFormat({ groupId: 'session-123' });
233+
it('should create WAL format with consistent structure', () => {
234+
const format = traceEventWalFormat();
243235

244236
expect(format.baseName).toBe('trace');
245237
expect(format.walExtension).toBe('.jsonl');

0 commit comments

Comments
 (0)