quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
18 lines (14 loc) • 409 B
JavaScript
import { describe, test, expect } from 'vitest'
import uid from './uid.js'
describe('[uid API]', () => {
describe('[Functions]', () => {
describe('[(function)default]', () => {
test('has correct return value', () => {
const result = uid()
expect(result).toBeTypeOf('string')
expect(result).toHaveLength(36)
expect(uid()).not.toBe(result)
})
})
})
})