amasad/expect.js — pull request #1 by amasad (2012-06-08 17:43:13+00:00)
Title: The inspect function `i` takes *too* long on DOM Nodes 

Don't try to inspect DOM Node like any other object.

1. For nodes of type Element return Web Inspector style element inspection:

* If it has children `...`.
* No children: `textContent`.

2. For any other nodeType return `textContent`.