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

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -