I am trying to run test with grunt-contrib-jasmine trough command line "grunt jasmine", but its fails giving the warning : "PhantomJS failed to load your page. Use --force to continue."...
base.spec.js:
describe('Namespace',function(){
it('Provides the global *** object',function(){
expect(***).to.be.an('object');
expect(***).to.include.keys('App','Templates');
});
});
gruntfile.js including this:
jasmine : {
src : ['apps/<%=target%>/js/**/*.js'],
options : {
host : 'http://127.0.0.1:5000',
specs : 'tests/<%=target%>/**/*spec.js',
}
},
.
.
.
grunt.loadNpmTasks('grunt-contrib-jasmine');
Can't understand what is wrong...
Please help, Thanks in advance...