You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/__snapshots__/tool.patternFlyDocs.test.ts.snap
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,3 +15,22 @@ exports[`usePatternFlyDocsTool, callback should attempt to parse parameters, sin
15
15
exports[`usePatternFlyDocsTool, callback should attempt to parse parameters, with invalid urlList 1`] =`"# Content for invalid-path"`;
16
16
17
17
exports[`usePatternFlyDocsTool, callback should attempt to parse parameters, with name and actual path 1`] =`"# Content for documentation:chatbot/README.md"`;
18
+
19
+
exports[`usePatternFlyDocsTool, callback should have a specific markdown format: Button 1`] =`
exports[`searchPatternFlyDocsTool, callback should parse parameters, with "*" searchQuery all: search 1`] =`"# Search results for "all" resources. Only showing the first 10 results. There are 798 potential match variations. Try searching with a more specific query."`;
exports[`searchPatternFlyDocsTool, callback should parse parameters, with "all" searchQuery all: search 1`] =`"# Search results for "all" resources. Only showing the first 10 results. There are 798 potential match variations. Try searching with a more specific query."`;
16
41
17
-
exports[`searchPatternFlyDocsTool, callback should parse parameters, with explicit valid version: search 1`] =`"# Search results for "Button". Showing 2 exact matches."`;
18
42
19
-
exports[`searchPatternFlyDocsTool, callback should parse parameters, with lower case componentName: search 1`] =`"# Search results for "button". Showing 2 exact matches."`;
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, default: search1`] = `"# Search results for PatternFly version "v6" and "Button". Showing 2 exact matches."`;
55
+
56
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, with"*"searchQueryall: search1`] = `"# Search results for PatternFly version "v6" and "all" resources. Only showing the first 10 results. There are 806 potential match variations. Try searching with a more specific query."`;
57
+
58
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, with"all"searchQueryall: search1`] = `"# Search results for PatternFly version "v6" and "all" resources. Only showing the first 10 results. There are 806 potential match variations. Try searching with a more specific query."`;
59
+
60
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withexplicitvalidversion: search1`] = `"# Search results for PatternFly version "v6" and "Button". Showing 2 exact matches."`;
61
+
62
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withlowercasecomponentName: search1`] = `"# Search results for PatternFly version "v6" and "button". Showing 2 exact matches."`;
exports[`searchPatternFlyDocsTool, callback should parse parameters, with multiple words: search 1`] =`"# Search results for "Button Card Table". Showing 4 related matches."`;
66
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withmultiplewords: search1`] = `"# Search results for PatternFly version "v6" and "ButtonCardTable". Showing 4 related matches."`;
24
67
25
-
exports[`searchPatternFlyDocsTool, callback should parse parameters, with partial componentName: search 1`] =`"# Search results for "ton". Showing 5 related matches."`;
68
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withpartialcomponentName: search1`] = `"# Search results for PatternFly version "v6" and "ton". Showing 5 related matches."`;
26
69
27
-
exports[`searchPatternFlyDocsTool, callback should parse parameters, with trimmed componentName: search 1`] =`"# Search results for " Button ". Showing 2 exact matches."`;
70
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withtrimmedcomponentName: search1`] = `"# Search results for PatternFly version "v6" and "Button". Showing 2 exact matches."`;
28
71
29
-
exports[`searchPatternFlyDocsTool, callback should parse parameters, with upper case componentName: search 1`] =`"# Search results for "BUTTON". Showing 2 exact matches."`;
72
+
exports[`searchPatternFlyDocsTool, callbackshouldparseparameters, withuppercasecomponentName: search1`] = `"# Search results for PatternFly version "v6" and "BUTTON". Showing 2 exact matches."`;
0 commit comments