Karma.conf.js load files before starting Chrome

151 views Asked by At

If I run my tests with browsers: ['PhantomJS'], the tests pass but if I run with browsers: ['Chrome'], then it says google is not defined I think because it is loading the Chrome browser before the files in the karma.conf.js files field. How do I load the files before karma starts Chrome?

1

There are 1 answers

0
BeniaminoBaggins On

Not THE answer...but changing to use IE makes it work...

It might be because it is slower to load

However IE doesn't make the test folders visible like Chrome does so cannot debug in IE.