js-fixtures
js-fixtures copied to clipboard
New method: fixtures.bodyAsDom()
The only caveat I can see so far is after parsing the string as DOM, that sometimes the browser complains about not being able to read cookie property of document. In some cases, running a server with enabled CORS did the trick (as in http-server -p 8000 --cors
for npm's http-server package).
Could you assist me here?