mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 12:39:35 +01:00
10 lines
143 B
TypeScript
10 lines
143 B
TypeScript
import { mockNuxtImport } from '@nuxt/test-utils/runtime'
|
|
|
|
let id = 0
|
|
|
|
mockNuxtImport('useId', () => {
|
|
return () => {
|
|
return id++
|
|
}
|
|
})
|