Skip to content

Commit

Permalink
Remove window.googletag use temporary.
Browse files Browse the repository at this point in the history
  • Loading branch information
from20020516 committed Feb 2, 2022
1 parent 6c45571 commit f160c42
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/spec/modules/fluctAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,16 @@ describe('fluct analytics adapter', () => {
})

it('EVENT: `AUCTION_END` 時に値を送信できる', () => {
window.googletag.pubads().setSlots([
mockGpt.makeSlot({
code: '/62532913/p_fluctmagazine_320x50_surface_15377',
divId: 'div-gpt-ad-1587114265584-0'
}),
mockGpt.makeSlot({
code: '/62532913/p_fluctmagazine_320x50_surface_15377',
divId: 'browsi_ad_0_ai_1_rc_0'
})
])
// window.googletag.pubads().setSlots([
// mockGpt.makeSlot({
// code: '/62532913/p_fluctmagazine_320x50_surface_15377',
// divId: 'div-gpt-ad-1587114265584-0'
// }),
// mockGpt.makeSlot({
// code: '/62532913/p_fluctmagazine_320x50_surface_15377',
// divId: 'browsi_ad_0_ai_1_rc_0'
// })
// ])
events.emit(AUCTION_INIT, MOCK.AUCTION_INIT)
events.emit(AUCTION_END, MOCK.AUCTION_END)
expect(server.requests.length).to.equal(1)
Expand Down

0 comments on commit f160c42

Please sign in to comment.