Skip to content

[tests] uuid.test.ts 🧐 #111

@nsergey82

Description

@nsergey82

I am missing a test where we provide as a namespace something which is not a legal uuid.

The library we are using now, for example, will validate using a regex: https://github.com/uuidjs/uuid/blob/main/src/regex.ts and will actually throw when given a bad namespace: https://github.com/uuidjs/uuid/blob/main/src/parse.ts#L5

But their behavior may change, or we may change a library, so better have a test.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions