import { config, mount } from '@vue/test-utils'; import StyleClass from './StyleClass'; import Button from '@/components/button/Button.vue'; import InputText from '@/components/inputtext/InputText.vue'; config.global.directives = { 'styleclass': StyleClass } describe('StyleClass', () => { it('should work with next selector', async () => { const wrapper = mount({ template: `