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

rdbms - what exactly the undo information lives in oracle? -

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

clojure - 'get' replacement that throws exception on not found? -