mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): add test for sensitive value (#11755)
This commit is contained in:
@@ -24,6 +24,21 @@ export const Markdown: Story = {
|
||||
},
|
||||
};
|
||||
|
||||
export const Sensitive: Story = {
|
||||
args: {
|
||||
resource: {
|
||||
...MockWorkspaceResource,
|
||||
metadata: [
|
||||
{
|
||||
key: "GitHub Token",
|
||||
value: "some-sensitive-token-here",
|
||||
sensitive: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const WithLongStrings: Story = {
|
||||
args: {
|
||||
resource: {
|
||||
|
||||
Reference in New Issue
Block a user