mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Add tests for results with React component names
This commit is contained in:
parent
c1926959e2
commit
7aa575a237
5 changed files with 70 additions and 1 deletions
|
|
@ -1,5 +1,31 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`jest-junit tests report from #235 testing react components named <ComponentName /> 1`] = `
|
||||
TestRunResult {
|
||||
"path": "fixtures/external/jest/jest-react-component-test-results.xml",
|
||||
"suites": [
|
||||
TestSuiteResult {
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "<Component /> should render properly",
|
||||
"result": "success",
|
||||
"time": 704,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"name": "\\<Component /\\>",
|
||||
"totalTime": 798,
|
||||
},
|
||||
],
|
||||
"totalTime": 1000,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`jest-junit tests report from ./reports/jest test results matches snapshot 1`] = `
|
||||
TestRunResult {
|
||||
"path": "fixtures/jest-junit.xml",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue