|
2 | 2 |
|
3 | 3 | exports[`JUnit reporter (no outputFile entry) 1`] = `
|
4 | 4 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
5 |
| -<testsuites> |
| 5 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
6 | 6 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
7 | 7 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
8 | 8 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -38,7 +38,7 @@ AssertionError: expected 2.23606797749979 to equal 2
|
38 | 38 |
|
39 | 39 | exports[`JUnit reporter 1`] = `
|
40 | 40 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
41 |
| -<testsuites> |
| 41 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
42 | 42 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
43 | 43 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
44 | 44 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -79,7 +79,7 @@ exports[`JUnit reporter with outputFile 1`] = `
|
79 | 79 |
|
80 | 80 | exports[`JUnit reporter with outputFile 2`] = `
|
81 | 81 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
82 |
| -<testsuites> |
| 82 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
83 | 83 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
84 | 84 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
85 | 85 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -120,7 +120,7 @@ exports[`JUnit reporter with outputFile in non-existing directory 1`] = `
|
120 | 120 |
|
121 | 121 | exports[`JUnit reporter with outputFile in non-existing directory 2`] = `
|
122 | 122 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
123 |
| -<testsuites> |
| 123 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
124 | 124 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
125 | 125 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
126 | 126 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -161,7 +161,7 @@ exports[`JUnit reporter with outputFile object 1`] = `
|
161 | 161 |
|
162 | 162 | exports[`JUnit reporter with outputFile object 2`] = `
|
163 | 163 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
164 |
| -<testsuites> |
| 164 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
165 | 165 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
166 | 166 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
167 | 167 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -202,7 +202,7 @@ exports[`JUnit reporter with outputFile object in non-existing directory 1`] = `
|
202 | 202 |
|
203 | 203 | exports[`JUnit reporter with outputFile object in non-existing directory 2`] = `
|
204 | 204 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
205 |
| -<testsuites> |
| 205 | +<testsuites name=\\"vitest tests\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
206 | 206 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"9\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"2\\" time=\\"0.145992842\\">
|
207 | 207 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > inner suite > Math.sqrt()\\" time=\\"0.001442286\\">
|
208 | 208 | <failure message=\\"expected 2.23606797749979 to equal 2\\" type=\\"AssertionError\\">
|
@@ -243,7 +243,7 @@ exports[`JUnit reporter with outputFile with XML in error message 1`] = `
|
243 | 243 |
|
244 | 244 | exports[`JUnit reporter with outputFile with XML in error message 2`] = `
|
245 | 245 | "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>
|
246 |
| -<testsuites> |
| 246 | +<testsuites name=\\"vitest tests\\" tests=\\"1\\" failures=\\"1\\" errors=\\"0\\" time=\\"0\\"> |
247 | 247 | <testsuite name=\\"test/core/test/basic.test.ts\\" timestamp=\\"2022-01-19T10:10:01.759Z\\" hostname=\\"hostname\\" tests=\\"1\\" failures=\\"1\\" errors=\\"0\\" skipped=\\"0\\" time=\\"0.145992842\\">
|
248 | 248 | <testcase classname=\\"test/core/test/basic.test.ts\\" name=\\"suite > test with xml in error\\" time=\\"0.0021231231\\">
|
249 | 249 | <failure message=\\"error message that has XML in it <tag>\\" type=\\"AssertionError\\">
|
|
0 commit comments