Skip to content

Commit

Permalink
fix(ts): add snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Sep 19, 2024
1 parent be96647 commit 968d153
Showing 1 changed file with 64 additions and 0 deletions.
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,
],
]
`;

0 comments on commit 968d153

Please sign in to comment.