Open History to see the last commit
1import { describe, expect, it } from 'vitest'
2import { createKey } from '../createKey'
3β
4describe('createKey', () => {
5 it('should return a key', () => {
6 const key = createKey()
7 expect(key).toStrictEqual(['key-1'])
8 })
9β
10 it('should return a new key each time', () => {
11 expect(createKey()).not.toStrictEqual(createKey())
12 })
13})