Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/__tests__/__snapshots__/options.defaults.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ exports[`options defaults should return specific properties: defaults 1`] = `
"expire": 120000,
},
},
"resourceModules": [],
"separator": "

---
Expand All @@ -66,11 +67,6 @@ exports[`options defaults should return specific properties: defaults 1`] = `
},
},
"toolMemoOptions": {
"fetchDocs": {
"cacheErrors": false,
"cacheLimit": 15,
"expire": 60000,
},
"usePatternFlyDocs": {
"cacheErrors": false,
"cacheLimit": 10,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`patternFlyContextResource should have a consistent return structure: structure 1`] = `
{
"config": true,
"handler": [Function],
"name": "patternfly-context",
"uri": "patternfly://context",
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`patternFlyDocsIndexResource should have a consistent return structure: structure 1`] = `
{
"config": true,
"handler": [Function],
"name": "patternfly-docs-index",
"uri": "patternfly://docs/index",
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`patternFlyDocsTemplateResource should have a consistent return structure: structure 1`] = `
{
"config": true,
"handler": [Function],
"name": "patternfly-docs-template",
"uri": ResourceTemplate {
"_callbacks": {
"list": undefined,
},
"_uriTemplate": UriTemplate {
"parts": [
"patternfly://docs/",
{
"exploded": false,
"name": "name",
"names": [
"name",
],
"operator": "",
},
],
"template": "patternfly://docs/{name}",
},
},
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`patternFlySchemasIndexResource should have a consistent return structure: structure 1`] = `
{
"config": true,
"handler": [Function],
"name": "patternfly-schemas-index",
"uri": "patternfly://schemas/index",
}
`;
Loading
Loading