Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ad83c42
refactor: simplify trace types and helper
BioPhoton Feb 3, 2026
04ac4c3
refactor: wip
BioPhoton Feb 3, 2026
36d74f8
Update packages/utils/src/lib/profiler/trace-file-utils.unit.test.ts
BioPhoton Feb 3, 2026
7193a57
Update packages/utils/src/lib/process-id.unit.test.ts
BioPhoton Feb 3, 2026
78d76d2
Update packages/utils/src/lib/process-id.unit.test.ts
BioPhoton Feb 3, 2026
c972833
Update packages/utils/src/lib/profiler/trace-file-utils.unit.test.ts
BioPhoton Feb 3, 2026
3f150db
refactor: remove redundant code
BioPhoton Feb 3, 2026
72e8baa
refactor: fix incorrect instant event "ph" value
BioPhoton Feb 3, 2026
5396322
refactor: wip
BioPhoton Feb 3, 2026
ef8f513
refactor: wip
BioPhoton Feb 3, 2026
058c9c1
refactor: wip
BioPhoton Feb 3, 2026
82d8c20
refactor: remove duplicated tests
BioPhoton Feb 8, 2026
79f5c44
refactor: dedupe process-id tests
BioPhoton Feb 8, 2026
23087ed
refactor: dedupe process-id tests
BioPhoton Feb 8, 2026
10b8f3a
refactor: adjust checks
BioPhoton Feb 8, 2026
1adf937
refactor: adjust metadata implementation
BioPhoton Feb 8, 2026
8dec5a8
refactor: adjust testing tsconfig to align wit the rest of the repo
BioPhoton Feb 8, 2026
cf94d25
Merge remote-tracking branch 'origin/main' into feat/utils/revamp-tra…
BioPhoton Feb 8, 2026
43b9540
refactor: mock os
BioPhoton Feb 8, 2026
da0cb32
Merge remote-tracking branch 'refs/remotes/origin/main' into feat/uti…
BioPhoton Feb 8, 2026
d761a3a
refactor: wip
BioPhoton Feb 8, 2026
f393a31
refactor: wip
BioPhoton Feb 8, 2026
50a6580
refactor: wip
BioPhoton Feb 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/utils/src/lib/process-id.unit.test.ts
Co-authored-by: Hanna Skryl <80118140+hanna-skryl@users.noreply.github.com>
  • Loading branch information
BioPhoton and hanna-skryl authored Feb 3, 2026
commit 78d76d2dfa5828c8a570fd6e1ea4290800c3fabb
7 changes: 3 additions & 4 deletions packages/utils/src/lib/process-id.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,9 @@ describe('getUniqueInstanceId', () => {
getUniqueInstanceId(counterObj),
];

const counters = results.map(r =>
Number.parseInt(r.split('.').at(-1)!, 10),
);
expect(counters).toEqual([1, 2, 3]);
expect(results[0]).toEndWith('.1');
expect(results[1]).toEndWith('.2');
expect(results[2]).toEndWith('.3');
});

it('should generate different IDs for different calls', () => {
Expand Down