(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| import { shallowMount } from '@vue/test-utils' | |
| import Component from './Component.vue' | |
| describe('Component', () => { | |
| const wrapper = shallowMount(Component) | |
| const data = wrapper.vm.$options.asyncData() | |
| wrapper.setData(data) | |
| it('should be shown "test" text', () => { |