Commit | Line | Data |
---|---|---|
973cde26 | 1 | const expect = require('expect') |
34a572eb | 2 | const { generateID } = require('../lib/util') |
973cde26 | 3 | |
506c2a14 | 4 | describe('Utility Tests ', () => { |
5 | it('Generate an id', () => { | |
6 | const res = generateID() | |
7 | expect(res).toBeTruthy() | |
8 | expect(typeof res).toBe('string') | |
9 | }) | |
973cde26 | 10 | }) |