|
|
@@ -1,6 +1,7 @@
|
|
|
-import { describe, test, it, expect } from 'vitest'
|
|
|
+import { describe, test, expect, vi } from 'vitest'
|
|
|
import type { RuntimeConfig } from '@nuxt/schema'
|
|
|
import type { AnyAbility } from '@casl/ability/dist/types'
|
|
|
+import type { Router } from 'vue-router'
|
|
|
import MenuComposer from '~/services/layout/menuComposer'
|
|
|
import type {
|
|
|
AccessProfile,
|
|
|
@@ -9,7 +10,6 @@ import type {
|
|
|
} from '~/types/interfaces'
|
|
|
import type { MenuBuilder, MenuGroup, MenuItem } from '~/types/layout'
|
|
|
import { MENU_LINK_TYPE } from '~/types/enum/layout'
|
|
|
-import type {Router} from 'vue-router';
|
|
|
|
|
|
describe('build', () => {
|
|
|
test('simple call', () => {
|