title: Is it possible to test a Firebase trigger locally?
body: <p>Using <code>firebase-functions</code> with Node and <code>exports.foo = functions.database.ref('/object').onWrite(event =&gt; {});</code>.</p>
  
  <p>I can deploy to the cloud and test just fine ... and I can easily test http-type functions locally using <code>firebase serve --only functions</code>.</p>
  
  <p>However, I don't see a way to test <strong>triggers</strong> locally. Is it possible? How?</p>