Commit 4b6c491f authored by Robert Knight's avatar Robert Knight

Fix error after an automatic incremental rebuild whilst running tests

When running tests in `gulp watch` mode, the initial run passed but
subsequent changes resulted in an error in the `merge-descriptors`
package, related to PhantomJS.

I haven't looked deeply into the problem but it does look like a
familiar issue related to Proxyquire trying to 'call through' to the
original imports in the module. Adding the '@noCallThru' flag in
guest-test.coffee resolves the issue.
parent 2efd1860
Annotator = require('annotator')
$ = Annotator.$
Annotator['@noCallThru'] = true;
highlighter = {}
anchoring = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment