Skip to content

Instantly share code, notes, and snippets.

@bobbywilson0
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobbywilson0/a4f7f9013cba51ee520d to your computer and use it in GitHub Desktop.
Save bobbywilson0/a4f7f9013cba51ee520d to your computer and use it in GitHub Desktop.
> phantomjs vendor/test/unit-test.js vendor/test/phantomjs-shims.js target/testable.js
PHANTOM: Phantom(name = "")
Loading URL: vendor/test/phantomjs-shims.js
Running test.
ReferenceError: Can't find variable: test
phantomjs://webpage.evaluate():2
phantomjs://webpage.evaluate():3
phantomjs://webpage.evaluate():3
*** Test failed! ***
phantomjs vendor/test/unit-test.js vendor/test/phantomjs-shim.js target/testable.js
PHANTOM: Phantom(name = "")
TypeError: undefined is not an object (evaluating 'phantom.args[0]')
vendor/test/unit-test.js:7 in global code
slimerjs vendor/test/unit-test.js target/testable.js
PHANTOM:
Loading URL: target/testable.js
Running test.
Script Error: Error: test is not defined
Stack:
-> phantomjs://webpage.evaluate(): 2
-> phantomjs://webpage.evaluate(): 2
-> phantomjs://webpage.evaluate(): 1
*** Test failed! ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment