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? -

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

java - Getting exception in JDBC thin driver -