javascript - Karma/Jasmine doesn't find html file -


i have spec opens iframe local html file src.

var template = document.createelement('iframe'); template.src = 'template.html'; 

i tried find file via javascript @ runtime file not found , karma shows 404 warning.

i have read , tried preprocessor, proxy, base/ url fix , still nothing... happy have input here.


Comments

Popular posts from this blog

bash - How do you programmatically add a bats test? -

android - alarm manager service starting every oncreate -

Convert bson to json in python/pymongo -