Fail run Teaspoon CLI but success in browser -
i have difficulties run js test suite cli. although tests pass in web browser.
$ rake teaspoon starting teaspoon server... teaspoon running default suite @ http://127.0.0.1:56362/teaspoon/default fffffffffffffffffff failures: 1) global failure (1, 0, 1) failure/error: typeerror: instanceof called on object invalid prototype property. 2) global failure (1, 0, 1) failure/error: referenceerror: can't find variable: app 3) global failure (1, 0, 1) failure/error: referenceerror: can't find variable: app ... , on ... 19) global failure (1, 0, 1) failure/error: referenceerror: can't find variable: app finished in 0.02100 seconds 19 examples, 19 failures failed examples: teaspoon -s default --filter="undefined global failure" ... , on ... teaspoon -s default --filter="undefined global failure" rake teaspoon failed
here repo
so why sees app
variable in browser , can't find in cli?
$ phantomjs -v 1.9.8
the issue phantomjs version. use 2.0.0 , tests adequate in cli.
Comments
Post a Comment