javascript - How can an XML file be included into a mocha test case -


i have written test in mocha runned in karma. test make use of test xml data included in separate file. purpose of test evaluate parser. have tried include using files in karma. error "unexpected token <".

got work, had left out "included: false" {pattern: 'test/mock/description.xml', watched: false, served: true} caused default true. lead karma trying including in html causing error.


Comments

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -