Skip to content

Commit

Permalink
Update src/cli/telemetry/test/helpers.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Waskiewicz <ryanwaskiewicz@gmail.com>
  • Loading branch information
splitinfinities and rwaskiewicz committed Jul 21, 2021
1 parent 2dd693f commit 13994a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/telemetry/test/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isInteractive, TERMINAL_INFO, tryFn, uuidv4 } from '../helpers';

describe('uuidv4', () => {

it('should output a UUID', async () => {
it('outputs a UUID', async () => {
const pattern = new RegExp(/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i);
const uuid = uuidv4()
expect(!!uuid.match(pattern)).toBe(true)
Expand Down

0 comments on commit 13994a6

Please sign in to comment.