-
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
1 parent
0dff4a5
commit 2dc37b5
Showing
3 changed files
with
41 additions
and
10 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
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 |
---|---|---|
@@ -1,12 +1,6 @@ | ||
{ | ||
"framework": "junit", | ||
"frameworkVersion": "2.1.5", | ||
"cliArgs": { | ||
"options": { "jUnitFile": "vitest-sharded-example/combined-results.xml" }, | ||
"args": [] | ||
}, | ||
"frameworkConfig": { | ||
"originFramework": "vitest", | ||
"originFrameworkVersion": "2.1.5" | ||
} | ||
"frameworkVersion": null, | ||
"cliArgs": {}, | ||
"frameworkConfig": { "originFramework": "vitest" } | ||
} |
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,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<testsuites> | ||
<testsuite name="vitest-sharded-example/tests/stringUtils.spec.js" timestamp="2024-11-27T15:31:38.685Z" hostname="Miguels-Laptop.local" tests="6" failures="2" errors="0" skipped="0" time="0.0070791655"> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > capitalizes first letter of each word" time="0.0013899584"/> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > handles already capitalized words" time="0.0001815844"/> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > handles empty string" time="0.0000715828"/> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > handles single word" time="0.0000698757"/> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > handles mixed case input" time="0.0040080833"> | ||
<failure message="expected 'Hello World' to be 'Hello World!' // Object.is equality" type="AssertionError"> | ||
AssertionError: expected 'Hello World' to be 'Hello World!' // Object.is equality | ||
|
||
Expected: "Hello World!" | ||
Received: "Hello World" | ||
|
||
❯ vitest-sharded-example/tests/stringUtils.spec.js:22:44 | ||
</failure> | ||
</testcase> | ||
<testcase classname="vitest-sharded-example/tests/stringUtils.spec.js" name="capitalizeWords > errors on number received" time="0.0005920839"> | ||
<failure message="str.split is not a function" type="TypeError"> | ||
TypeError: str.split is not a function | ||
❯ Module.capitalizeWords vitest-sharded-example/stringUtils.js:4:6 | ||
❯ vitest-sharded-example/tests/stringUtils.spec.js:26:12 | ||
</failure> | ||
</testcase> | ||
</testsuite> | ||
<testsuite name="vitest-sharded-example/tests/numberUtils.spec.js" timestamp="2024-11-27T15:31:39.294Z" hostname="Miguels-Laptop.local" tests="6" failures="0" errors="0" skipped="0" time="0.002043541"> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > calculates average of positive numbers" time="0.0008744173"/> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > handles array with single number" time="0.0001640005"/> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > handles empty array" time="0.0000665836"/> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > handles negative numbers" time="0.0000643749"/> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > handles decimal numbers" time="0.0001732502"/> | ||
<testcase classname="vitest-sharded-example/tests/numberUtils.spec.js" name="calculateAverage > returns 0 for invalid input" time="0.0000663748"/> | ||
</testsuite> | ||
</testsuites> |