Comments (7)
Unfortunately, phantomjs does not give us details of the syntax error (see #37).
You could use a task just before jasmine that validates your javascript using a task like grunt-jsvalidate
from grunt-contrib-jasmine.
Yeah, I've tried grunt-jsvalidate and jshint and I'm not getting any hints.
from grunt-contrib-jasmine.
I just downgraded to PhantomJS 1.3.0 and Jasmine 1.2.0 and still the same problem.
from grunt-contrib-jasmine.
Have you tried opening the _SpecRunner.html file that remains after a failed run in a browser?
This line is a concern
[D] ["phantomjs","onResourceReceived","file:///Users/xxxxxx/htdocs/eConnect/poc/com.xxxxxx.poc/knockout/tests/phonenumbers/phoneModelTest.html"]
It seems like you might be loading an html file as the src. Grunt-contrib-jasmine is meant to automatically generate your specrunner from source js files. You can use templates to automatically generate one specific to your needs, if necessary.
from grunt-contrib-jasmine.
@PhillyWebGuy ping for update
from grunt-contrib-jasmine.
Same problem here.
from grunt-contrib-jasmine.
@tjwebb can you open another ticket with details regarding your issue? This issue looks like it was related to comment #65 (comment) and without updates from @PhillyWebGuy I don't want to hijack it for another problem.
from grunt-contrib-jasmine.
Related Issues (20)
- Can't find jasmine HOT 3
- no-sandbox HOT 2
- Can't pass viewport size to Puppeteer HOT 1
- security vulnerability detected (caused by lodash) HOT 4
- Dependencies of the NPM packages not up to date HOT 7
- Display console output HOT 1
- 2.0.3 does not work on CircleCI HOT 3
- npm install is broken for versions less than 2.0.0 HOT 3
- Configure the jasmine's random on gruntfile HOT 2
- Need to pass '--allow-file-access-from-files' down to puppeteer launch args. HOT 2
- subsequent tasks in multi task don't run their specs HOT 8
- reporter.js assumes it is running headless HOT 1
- refactor puppeteer option passing
- Renable ESLint rules
- New rimraf version causing issue. HOT 1
- Does not work with jasmine 3.9.0 (latest), tests don't execute and command hangs on "Testing specs with Jasmine/latest via HeadlessChrome/90.0.4427.0" HOT 1
- Fails on linux as the grunt-contrib-jasmine/.jasmine/latest/images/jasmine_favicon.png is missing HOT 1
- Jasmine 3.10.0 HOT 1
- Puppeteer installed with grunt-contrib-jasmine timing out when running jasmine tests HOT 2
- Document customBootFile option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-contrib-jasmine.