jeudi 15 novembre 2018

Mock browser document in integration test

How can I mock standard whole browser's window on client? I want entirely new object same as window which would provide work with location and DOM but would not render into actual displayed window. There is JSDOM which works on server, but I would like the possibility on client. I'm using Meteor with Mocha.

Aucun commentaire:

Enregistrer un commentaire