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
Post a Comment