Skip to content

Commit 14f114b

Browse files
chore(site): add test for sensitive value (#11755)
1 parent f74ef14 commit 14f114b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

site/src/pages/WorkspacePage/ResourceMetadata.stories.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ export const Markdown: Story = {
2424
},
2525
};
2626

27+
export const Sensitive: Story = {
28+
args: {
29+
resource: {
30+
...MockWorkspaceResource,
31+
metadata: [
32+
{
33+
key: "GitHub Token",
34+
value: "some-sensitive-token-here",
35+
sensitive: true,
36+
},
37+
],
38+
},
39+
},
40+
};
41+
2742
export const WithLongStrings: Story = {
2843
args: {
2944
resource: {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy