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

+15
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)