Skip to content

Commit 4e81d41

Browse files
committed
Add comment about Storybook test diagnostics
1 parent 39c1729 commit 4e81d41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/ql-vscode/src/stories/common/SuggestBox.stories.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ AccessPath.args = {
148148
const diagnostics: Diagnostic[] = [];
149149

150150
while (index !== -1) {
151+
// For testing in this Storybook, disallow pipe characters to avoid a dependency on the
152+
// real access path validation.
151153
index = value.indexOf("|", index + 1);
152154

153155
diagnostics.push({

0 commit comments

Comments
 (0)