Change the regex expression for a valid fsUid to more closely reflect the way they are generated by firestore.
To be brief, the regex expression I was previously using did not guarantee that the string was exactly 20 characters,
of the right type. By the addition of extra ^ and $ as request in #23, we're able to make sure it only matches valid strings correctly.
Extra unit tests were added so that this behaviour is set in stone.
Closes #23
Change the regex expression for a valid fsUid to more closely reflect the way they are generated by firestore.
To be brief, the regex expression I was previously using did not guarantee that the string was exactly 20 characters, of the right type. By the addition of extra ^ and $ as request in #23, we're able to make sure it only matches valid strings correctly.
Extra unit tests were added so that this behaviour is set in stone. Closes #23