Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 7 additions & 3 deletions crates/trusted-server-core/src/integrations/gpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1246,12 +1246,16 @@ mod tests {
"should set ts_initial sentinel"
);
assert!(
!combined.contains("addEventListener(\"slotRenderEnded\""),
"inline bootstrap cannot prove TS creative rendering from GPT slotRenderEnded"
combined.contains("addEventListener(\"slotRequested\""),
"should observe publisher GPT requests before delayed adInit"
);
assert!(
combined.contains("addEventListener(\"slotRenderEnded\""),
"should observe publisher GPT renders before delayed adInit"
);
assert!(
!combined.contains("sendBeacon"),
"inline bootstrap must not fire win/billing beacons from GPT slotRenderEnded"
"inline bootstrap lifecycle ownership must not fire win/billing beacons"
);
assert!(
!combined.contains("getTargeting(\"hb_adid\")"),
Expand Down
Loading
Loading