Monday, 15 February 2010

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


I have written a test in Mocha which is going on in karma. This test uses some test XML data included in a separate file. The purpose of the test is to evaluate the Parser. I have tried to include it in the use of files in deeds. But then I get an error of "unexpected token".

got to work, got out "Code: {pattern: 'test / mock / From "description.xml ': Viewed: false, serviced: true} to" wrongly included ": This is due to default to try to do this action, in which it has to include HTML due to error Attempts are made.


No comments:

Post a Comment