Skip to content
Merged
Changes from 2 commits
Commits
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
4 changes: 2 additions & 2 deletions tests/integration/static.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test<FixtureTestContext>('linked static resources are placed in correct place in
...Array.from(document('script[src]')).map((elem) => {
return elem.attribs.src
}),
...Array.from(document('link[href]')).map((elem) => {
...Array.from(document('link[href]:not([blocking="render"])')).map((elem) => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably better to ignore rel="expect" instead since blocking may take other values.

return elem.attribs.href
}),
...Array.from(document('img[src]')).map((elem) => {
Expand Down Expand Up @@ -143,7 +143,7 @@ test<FixtureTestContext>('linked static resources are placed in correct place in
...Array.from(document('script[src]')).map((elem) => {
return elem.attribs.src
}),
...Array.from(document('link[href]')).map((elem) => {
...Array.from(document('link[href]:not([blocking="render"])')).map((elem) => {
return elem.attribs.href
}),
...Array.from(document('img[src]')).map((elem) => {
Expand Down
Loading