now working
This commit is contained in:
15
test/test.ts
15
test/test.ts
@ -1,8 +1,19 @@
|
||||
import { expect, tap } from 'tapbundle'
|
||||
import * as smartunique from '../dist/index'
|
||||
|
||||
tap.test('first test', async () => {
|
||||
console.log('hey')
|
||||
tap.test('should create shortid', async () => {
|
||||
let result = smartunique.getShortId()
|
||||
console.log(result)
|
||||
})
|
||||
|
||||
tap.test('should create uuidv4', async () => {
|
||||
let result = smartunique.getUuidv4()
|
||||
console.log(result)
|
||||
})
|
||||
|
||||
tap.test('should create uuidv5', async () => {
|
||||
let result = smartunique.getUuidv5('sometext')
|
||||
console.log(result)
|
||||
})
|
||||
|
||||
tap.start()
|
||||
|
Reference in New Issue
Block a user