mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +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++
|
|
}
|
|
})
|