Skip to content

Commit

Permalink
fix: update @podium/utils
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Sep 5, 2024
1 parent 3b023cc commit 719c1e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@metrics/client": "2.5.3",
"@podium/proxy": "5.0.24",
"@podium/schemas": "5.0.6",
"@podium/utils": "5.1.0",
"@podium/utils": "5.2.0",
"abslog": "2.4.4",
"ajv": "8.17.1",
"objobj": "1.0.0"
Expand Down
8 changes: 4 additions & 4 deletions tests/podlet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ tap.test('assets - .js() - should send 103 Early hints', async (t) => {
res.hints((info) => {
t.equal(
info.link,
'</scripts.js>; async=true; type=module; data-foo=bar',
'</scripts.js>; async=true; type=module; data-foo=bar; asset-type=script',
);
});
await res.result();
Expand Down Expand Up @@ -1961,7 +1961,7 @@ tap.test(
res.hints((info) => {
t.equal(
info.link,
'</styles1.css>; type=text/css; rel=stylesheet; scope=content',
'</styles1.css>; type=text/css; rel=stylesheet; scope=content; asset-type=style',
);
});
await res.result();
Expand Down Expand Up @@ -1996,7 +1996,7 @@ tap.test(
res.hints((info) => {
t.equal(
info.link,
'</styles2.css>; type=text/css; rel=stylesheet; scope=fallback',
'</styles2.css>; type=text/css; rel=stylesheet; scope=fallback; asset-type=style',
);
});
await res.result();
Expand Down Expand Up @@ -2034,7 +2034,7 @@ tap.test(
res.hints((info) => {
t.equal(
info.link,
'</scripts.js>; async=true; type=module; data-foo=bar; scope=content, </styles.css>; type=text/css; rel=stylesheet; scope=content',
'</scripts.js>; async=true; type=module; data-foo=bar; scope=content; asset-type=script, </styles.css>; type=text/css; rel=stylesheet; scope=content; asset-type=style',
);
});
await res.result();
Expand Down

0 comments on commit 719c1e0

Please sign in to comment.