Class to functional component example 2 (#24183)
* Class to functional component example 2 * Fix tests
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1f525550a5
Коммит
5a349873f7
@@ -79,9 +79,7 @@ exports[`components/integrations/InstalledCommand should call onDelete function
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="testToken"
|
||||
/>
|
||||
</span>
|
||||
@@ -187,9 +185,7 @@ exports[`components/integrations/InstalledCommand should call onRegenToken funct
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="testToken"
|
||||
/>
|
||||
</span>
|
||||
@@ -265,9 +261,7 @@ exports[`components/integrations/InstalledCommand should match snapshot 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="testToken"
|
||||
/>
|
||||
</span>
|
||||
@@ -341,9 +335,7 @@ exports[`components/integrations/InstalledCommand should match snapshot, not aut
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="testToken"
|
||||
/>
|
||||
</span>
|
||||
|
||||
@@ -63,9 +63,7 @@ exports[`components/integrations/InstalledIncomingWebhook should match snapshot
|
||||
}
|
||||
/>
|
||||
<span>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="http://localhost:8065/hooks/9w96t4nhbfdiij64wfqors4i1r"
|
||||
/>
|
||||
</span>
|
||||
|
||||
@@ -132,9 +132,7 @@ exports[`components/integrations/InstalledOutgoingWebhook should match snapshot
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="xoxz1z7c3tgi9xhrfudn638q9r"
|
||||
/>
|
||||
</span>
|
||||
|
||||
@@ -55,9 +55,7 @@ exports[`components/integrations/ConfirmIntegration should match snapshot, comma
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="jb6oyqh95irpbx8fo9zmndkp1r"
|
||||
/>
|
||||
</p>
|
||||
@@ -133,9 +131,7 @@ exports[`components/integrations/ConfirmIntegration should match snapshot, incom
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="http://localhost:8065/hooks/r5tpgt4iepf45jt768jz84djic"
|
||||
/>
|
||||
</p>
|
||||
@@ -213,7 +209,7 @@ exports[`components/integrations/ConfirmIntegration should match snapshot, oauth
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
<Memo(CopyText)
|
||||
defaultMessage="Copy Client Id"
|
||||
idMessage="integrations.copy_client_id"
|
||||
value="r5tpgt4iepf45jt768jz84djic"
|
||||
@@ -228,7 +224,7 @@ exports[`components/integrations/ConfirmIntegration should match snapshot, oauth
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
<Memo(CopyText)
|
||||
defaultMessage="Copy Client Secret"
|
||||
idMessage="integrations.copy_client_secret"
|
||||
value="<==secret==>"
|
||||
@@ -329,9 +325,7 @@ exports[`components/integrations/ConfirmIntegration should match snapshot, outgo
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
defaultMessage="Copy"
|
||||
idMessage="integrations.copy"
|
||||
<Memo(CopyText)
|
||||
value="jb6oyqh95irpbx8fo9zmndkp1r"
|
||||
/>
|
||||
</p>
|
||||
|
||||
@@ -111,7 +111,7 @@ exports[`components/integrations/InstalledOAuthApp should match snapshot 1`] = `
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
<Memo(CopyText)
|
||||
defaultMessage="Copy Client Id"
|
||||
idMessage="integrations.copy_client_id"
|
||||
value="facxd9wpzpbpfp8pad78xj75pr"
|
||||
@@ -339,7 +339,7 @@ exports[`components/integrations/InstalledOAuthApp should match snapshot, on err
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
<Memo(CopyText)
|
||||
defaultMessage="Copy Client Id"
|
||||
idMessage="integrations.copy_client_id"
|
||||
value="facxd9wpzpbpfp8pad78xj75pr"
|
||||
@@ -514,7 +514,7 @@ exports[`components/integrations/InstalledOAuthApp should match snapshot, when o
|
||||
}
|
||||
}
|
||||
/>
|
||||
<CopyText
|
||||
<Memo(CopyText)
|
||||
defaultMessage="Copy Client Id"
|
||||
idMessage="integrations.copy_client_id"
|
||||
value="facxd9wpzpbpfp8pad78xj75pr"
|
||||
|
||||
Ссылка в новой задаче
Block a user