diff --git a/src/components/__tests__/__Template.js b/src/components/__tests__/__Template.js
index <HASH>..<HASH> 100644
--- a/src/components/__tests__/__Template.js
+++ b/src/components/__tests__/__Template.js
@@ -1,14 +1,15 @@
 import { mount } from '@vue/test-utils';
 import Template from '../__Template.vue';
+import { __setState } from '../../component';
 jest.mock('../../component');
 
 it('renders correctly', () => {
-  const wrapper = mount(Template);
-  wrapper.setData({
+  __setState({
     state: {
       hits: ['yo', 'how', 'are', 'you', 'doing', '?'],
     },
   });
+  const wrapper = mount(Template);
   expect(wrapper.html()).toMatchSnapshot();
 });
test(template): explain setState