mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
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:
@@ -1,8 +1,11 @@
|
|||||||
import '@testing-library/jest-dom';
|
import '@testing-library/jest-dom';
|
||||||
|
import { configure } from '@testing-library/vue';
|
||||||
import { config } from '@vue/test-utils';
|
import { config } from '@vue/test-utils';
|
||||||
|
|
||||||
import { N8nPlugin } from 'n8n-design-system/plugin';
|
import { N8nPlugin } from 'n8n-design-system/plugin';
|
||||||
|
|
||||||
|
configure({ testIdAttribute: 'data-test-id' });
|
||||||
|
|
||||||
config.global.plugins = [N8nPlugin];
|
config.global.plugins = [N8nPlugin];
|
||||||
|
|
||||||
window.ResizeObserver =
|
window.ResizeObserver =
|
||||||
|
|||||||
Reference in New Issue
Block a user