-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: render schema title if it exists (#877)
- Loading branch information
1 parent
d98cabc
commit 9b73229
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ npm-debug.log* | |
lerna-debug.log* | ||
/**/*.tgz | ||
/.idea/ | ||
.vscode |
13 changes: 13 additions & 0 deletions
13
library/src/helpers/__tests__/__snapshots__/schema.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should not render title because title is null 1`] = `"first case:"`; | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should not render title because title is null 2`] = `"other cases:"`; | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should not render title because title is undefined 1`] = `"first case:"`; | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should not render title because title is undefined 2`] = `"other cases:"`; | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should render title 1`] = `"first case title example:"`; | ||
|
||
exports[`SchemaHelpers .applicatorSchemaName should render title 2`] = `"other cases title example:"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters