21224: merged main to pass int tests
[arvados.git] / services / workbench2 / src / components / code-snippet / code-snippet.tsx
index 47d8fe1bf029bc5915a069c4a2c12dd08c8051b4..3be1e4fc71b4698fefc15ea48062b4b777aba563 100644 (file)
@@ -66,7 +66,7 @@ export const CodeSnippet = withStyles(styles)(connect(mapStateToProps)(
         </Typography>
 ));
 
-const renderLinks = (auth: FederationConfig, dispatch: Dispatch) => (text: string): JSX.Element => {
+export const renderLinks = (auth: FederationConfig, dispatch: Dispatch) => (text: string): JSX.Element => {
     // Matches UUIDs & PDHs
     const REGEX = /[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}|[0-9a-f]{32}\+\d+/g;
     const links = text.match(REGEX);