title: Button Click Test Failing with Jest / VueJS
body: <p>I'm trying to initiate a button click on a image, but when running the test, it keeps erroring out with <code>find did not return cal-modal, cannot call trigger() on empty Wrapper</code></p>
  
  <p>What am I doing wrong? Very very simplified code below:</p>
  
  <p><strong><em>CALENDAR.VUE</em></strong></p>
  
  <pre><code>&lt;template&gt;
                  &lt;div class="col-xs-6 text-right"&gt;
                      &lt;b-img ref='cal-modal' id='cal-modal' class="cal-icon" @click="displayCal" v-b-modal.date-time-modal src="/static/img/ico.png"&gt;&lt;/b-img&gt;
                  &lt;/div&gt;
  
  &lt;/template&gt;
  
  </code></pre>
  
  <p><strong><em>TEST FILE</em></strong></p>
  
  <pre><code>import {createLocalVue, mount} from "@vue/test-utils";
  import Calendar from '@/components/Calendar.vue'
  import BootstrapVue from "bootstrap-vue";
  const localVue = createLocalVue()
  localVue.use(BootstrapVue)
  
  
    it('display cal', () =&gt; {
        const wrapper = mount(Calendar, {localVue});
        wrapper
            .find('cal-modal')
            .trigger('click')
    })
  </code></pre>