Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prebidServerAdapter: Unit test fails in IE browser #1920

Closed
jaiminpanchal27 opened this issue Dec 5, 2017 · 1 comment
Closed

prebidServerAdapter: Unit test fails in IE browser #1920

jaiminpanchal27 opened this issue Dec 5, 2017 · 1 comment
Assignees

Comments

@jaiminpanchal27
Copy link
Collaborator

Type of issue

Bug

Description

Test failures for prebidServerAdapter

  S2S Adapter
    response handler
      ✗ does not call addBidResponse and calls done when ad unit not set
	AssertError: expected spy to be called once but was called 0 times
	   at fail (node_modules/sinon/pkg/sinon.js:6340:17)
	   at failAssertion (node_modules/sinon/pkg/sinon.js:6296:13)
	   at Anonymous function (node_modules/sinon/pkg/sinon.js:6321:21)
	   at Anonymous function (webpack:///test/spec/modules/prebidServerBidAdapter_spec.js:294:6 <- test/spec/modules/prebidServerBidAdapter_spec.js:12265:7)

      ✗ does not call addBidResponse and calls done when server requests cookie sync
	AssertError: expected spy to be called once but was called 0 times
	   at fail (node_modules/sinon/pkg/sinon.js:6340:17)
	   at failAssertion (node_modules/sinon/pkg/sinon.js:6296:13)
	   at Anonymous function (node_modules/sinon/pkg/sinon.js:6321:21)
	   at Anonymous function (webpack:///test/spec/modules/prebidServerBidAdapter_spec.js:305:6 <- test/spec/modules/prebidServerBidAdapter_spec.js:12276:7)

      ✗ does not call addBidResponse and calls done  when ad unit is set
	AssertError: expected spy to be called once but was called 0 times
	   at fail (node_modules/sinon/pkg/sinon.js:6340:17)
	   at failAssertion (node_modules/sinon/pkg/sinon.js:6296:13)
	   at Anonymous function (node_modules/sinon/pkg/sinon.js:6321:21)
	   at Anonymous function (webpack:///test/spec/modules/prebidServerBidAdapter_spec.js:316:6 <- test/spec/modules/prebidServerBidAdapter_spec.js:12287:7)

      ✗ registers successful bids and calls done when there are less bids than requests
	AssertError: expected spy to be called once but was called 0 times
	   at fail (node_modules/sinon/pkg/sinon.js:6340:17)
	   at failAssertion (node_modules/sinon/pkg/sinon.js:6296:13)
	   at Anonymous function (node_modules/sinon/pkg/sinon.js:6321:21)
	   at Anonymous function (webpack:///test/spec/modules/prebidServerBidAdapter_spec.js:327:6 <- test/spec/modules/prebidServerBidAdapter_spec.js:12298:7)
@jaiminpanchal27
Copy link
Collaborator Author

Fixed in #1918

@ghost ghost removed the in progress label Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants