Skip to content

Commit

Permalink
chore: fixing broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leftieFriele committed Dec 3, 2024
1 parent 8f446e2 commit 26fa6ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/layout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ tap.test('Layout() - metrics properly decorated', (t) => {
});

layout.metrics.pipe(
destinationObjectStream((arr) => {
destinationObjectStream((items) => {
const arr = items.filter(
(i) => i.name !== 'http_client_request_duration',
);

t.equal(arr[0].name, 'podium_layout_version_info');
t.equal(arr[0].type, 1);
t.equal(arr[0].value, 1);
Expand Down

0 comments on commit 26fa6ed

Please sign in to comment.