I'm so close to being able to test this code that I can practically smell it

Now Flight is upset about the absence of the "window" global variable

ReferenceError: window is not defined
    at Component.trigger (/home/h2s/src/tdd-flight/components/flight/lib/component.js:65:13)
    at Component.advice.after (/home/h2s/src/tdd-flight/components/flight/lib/advice.js:46:44)
    at Component.advice.around [as trigger] (/home/h2s/src/tdd-flight/components/flight/lib/advice.js:23:26)
    at new Component (/home/h2s/src/tdd-flight/components/flight/lib/component.js:235:14)
    at Object.<anonymous> (/home/h2s/src/tdd-flight/experiment.js:5:12)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)