mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor(editor): Port more components over to composition API (no-changelog) (#8794)
This commit is contained in:
committed by
GitHub
parent
edce632ee6
commit
e2131b9ab6
@@ -3,7 +3,7 @@ import { useDeviceSupport } from '@/composables/useDeviceSupport';
|
||||
describe('useDeviceSupport()', () => {
|
||||
beforeEach(() => {
|
||||
global.window = Object.create(window);
|
||||
global.navigator = { userAgent: 'test-agent', maxTouchPoints: 0 };
|
||||
global.navigator = { userAgent: 'test-agent', maxTouchPoints: 0 } as Navigator;
|
||||
});
|
||||
|
||||
describe('isTouchDevice', () => {
|
||||
|
||||
Reference in New Issue
Block a user