now working

This commit is contained in:
2017-07-14 18:53:10 +02:00
parent 9a1efb9940
commit 8f63394641
9 changed files with 480 additions and 3 deletions

View File

@ -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()