How can we execute Unit Tests against DOM manipulation?

后端 未结 3 1073
醉话见心
醉话见心 2021-02-13 06:43

The introduction to QUnit over at netTuts.com spawns an interesting exchange (never resolved) over how to apply unit tests against actions that manipulate the DOM. The following

3条回答
  •  借酒劲吻你
    2021-02-13 06:56

    You can run them in env.js, if you don't want the hassle of creating html page sandboxes for all your tests.

提交回复
热议问题