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

Promises are not unwrapped by jasminewd for jasmine 1.x #35

Open
sjelin opened this issue Oct 9, 2015 · 0 comments
Open

Promises are not unwrapped by jasminewd for jasmine 1.x #35

sjelin opened this issue Oct 9, 2015 · 0 comments

Comments

@sjelin
Copy link
Contributor

sjelin commented Oct 9, 2015

Using the same spec file as in #34, we get this error on the first test:

  1) unwrap promises q
   Message:
     Expected 7 to be { promiseDispatch : Function, inspect : Function, valueOf : Function }.
   Stacktrace:
     Error: Expected 7 to be { promiseDispatch : Function, inspect : Function, valueOf : Function }.
    at null.toBe (/usr/local/google/home/sjelin/node_modules/jasminewd/index.js:248:11)
    at null.<anonymous> (/usr/local/google/home/sjelin/t/s.js:8:15)
    at /usr/local/google/home/sjelin/node_modules/jasminewd/index.js:94:14
    at promise.ControlFlow.runInFrame_ (/usr/local/google/home/sjelin/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:1857:20)
    at promise.ControlFlow.runEventLoop_ (/usr/local/google/home/sjelin/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:1729:8)
    at eval (/usr/local/google/home/sjelin/node_modules/selenium-webdriver/lib/goog/../webdriver/promise.js:2043:12)
    at goog.async.run.processWorkQueue (/usr/local/google/home/sjelin/node_modules/selenium-webdriver/lib/goog/async/run.js:130:15)

and this for the second:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

Executed using:

var minj = require('minijasminenode');
require('jasminewd');
minj.executeSpecs({specs: ['/usr/local/google/home/sjelin/t/s.js']});
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

1 participant