-
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.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
template/ts/{{cookiecutter.project_slug}}/tests/__snapshots__/index.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,64 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`GitHub Action Configuration Handling should use default values when config is empty 1`] = ` | ||
[ | ||
[ | ||
"processed_text", | ||
"", | ||
], | ||
[ | ||
"word_count", | ||
0, | ||
], | ||
[ | ||
"sum", | ||
0, | ||
], | ||
[ | ||
"average", | ||
0, | ||
], | ||
] | ||
`; | ||
|
||
exports[`GitHub Action Text Processing should handle empty input text 1`] = ` | ||
[ | ||
[ | ||
"processed_text", | ||
"", | ||
], | ||
[ | ||
"word_count", | ||
0, | ||
], | ||
[ | ||
"sum", | ||
0, | ||
], | ||
[ | ||
"average", | ||
0, | ||
], | ||
] | ||
`; | ||
|
||
exports[`GitHub Action Text Processing should process text, count words, calculate sum and average correctly 1`] = ` | ||
[ | ||
[ | ||
"processed_text", | ||
"Hi world! Hi!", | ||
], | ||
[ | ||
"word_count", | ||
3, | ||
], | ||
[ | ||
"sum", | ||
15, | ||
], | ||
[ | ||
"average", | ||
3, | ||
], | ||
] | ||
`; |