forked from omarVodiaK/node-typescript-parser
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 馃悰 added snapshots and fixed readme
- Loading branch information
1 parent
499b99b
commit 1c95cbd
Showing
6 changed files
with
2,675 additions
and
15 deletions.
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ node_modules/ | |
|
||
# testing | ||
coverage/ | ||
__snapshots__/ | ||
|
||
# typescript | ||
build/ | ||
|
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
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,63 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Specific usage cases get usage for directly reexported elements should contain imported default elements in usages 1`] = `Array []`; | ||
|
||
exports[`Specific usage cases get usage for directly reexported elements should contain imported default elements in usages 2`] = ` | ||
Array [ | ||
"Test", | ||
] | ||
`; | ||
|
||
exports[`Specific usage cases get usage for directly reexported elements should contain imported elements in usages 1`] = ` | ||
Array [ | ||
NamedExport { | ||
"end": 189, | ||
"from": "inline", | ||
"specifiers": Array [ | ||
SymbolSpecifier { | ||
"alias": undefined, | ||
"specifier": "colors", | ||
}, | ||
SymbolSpecifier { | ||
"alias": undefined, | ||
"specifier": "helpers", | ||
}, | ||
SymbolSpecifier { | ||
"alias": undefined, | ||
"specifier": "theme", | ||
}, | ||
SymbolSpecifier { | ||
"alias": undefined, | ||
"specifier": "icons", | ||
}, | ||
], | ||
"start": 148, | ||
}, | ||
] | ||
`; | ||
|
||
exports[`Specific usage cases get usage for directly reexported elements should contain imported elements in usages 2`] = ` | ||
Array [ | ||
"colors", | ||
"helpers", | ||
"theme", | ||
"icons", | ||
] | ||
`; | ||
|
||
exports[`Specific usage cases i18next with and without destructure should contain i18next reference in not destructured way 1`] = ` | ||
Array [ | ||
"MyComponent", | ||
"p", | ||
"i18next", | ||
"", | ||
] | ||
`; | ||
|
||
exports[`Specific usage cases i18next with and without destructure should contain t reference in destructured way 1`] = ` | ||
Array [ | ||
"MyComponent", | ||
"p", | ||
"", | ||
] | ||
`; |
Oops, something went wrong.