test(editor): Set 'data-test-id' in design-system unit tests to match with editor-ui and cypress (no-changelog) (#11381)

This commit is contained in:
Charlie Kolb 2024-10-24 12:20:46 +02:00 committed by GitHub
parent 88c1c4ad7b
commit ab86d8fb9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,11 @@
import '@testing-library/jest-dom';
import { configure } from '@testing-library/vue';
import { config } from '@vue/test-utils';
import { N8nPlugin } from 'n8n-design-system/plugin';
configure({ testIdAttribute: 'data-test-id' });
config.global.plugins = [N8nPlugin];
window.ResizeObserver =