okfn/annotator — Issue #82: Update the cli test runner to work with Node 0.6+ 
Author: aron
Created: 2012-01-24 12:06:35+00:00
State: open

I've fixed most of the smaller issues and updated CoffeeScript and jsdom, however I wasn't able to get the suite to run due to issues in jsdom. I've given up for now as the browser test suite is running fine and I haven't got time to look into it.

As a side note I updated the `Script.runInNewContext()` call to simple append the scripts to the window in `sandbox.coffee`. I tried using `vm.runInNewContext()` but that was failing too.

```javascript
script = @document.createElement('script')
script.appendChild @document.createTextNode(src)
@document.head.appendChild(script)
```

Perhaps it's simpler to use a headless WebKit package rather than jsdom for this?