forked from styled-components/styled-components
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-results.json
More file actions
1 lines (1 loc) · 13.9 KB
/
test-results.json
File metadata and controls
1 lines (1 loc) · 13.9 KB
1
{"numFailedTestSuites":1,"numFailedTests":3,"numPassedTestSuites":0,"numPassedTests":7,"numPendingTestSuites":0,"numPendingTests":1,"numRuntimeErrorTestSuites":0,"numTotalTestSuites":1,"numTotalTests":11,"snapshot":{"added":0,"didUpdate":false,"failure":true,"filesAdded":0,"filesRemoved":0,"filesUnmatched":1,"filesUpdated":0,"matched":14,"total":18,"unchecked":0,"unmatched":4,"updated":0},"startTime":1521955197794,"success":false,"testResults":[{"assertionResults":[{"failureMessages":[],"status":"passed","title":"should extract the CSS in a simple case"},{"failureMessages":[],"status":"passed","title":"should extract both global and local CSS"},{"failureMessages":[],"status":"passed","title":"should not spill ServerStyleSheets into each other"},{"failureMessages":[],"status":"passed","title":"should add a nonce to the stylesheet if webpack nonce is detected in the global scope"},{"failureMessages":[],"status":"pending","title":"should render CSS in the order the components were defined, not rendered"},{"failureMessages":[],"status":"passed","title":"should share global styles but keep renders separate"},{"failureMessages":["Error: \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n\n\u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 2\u001b[39m.\n\n\u001b[31m- \"<style data-styled-components=\"a\">\n/* sc-component-id: sc-global-737874422 */\nhtml::before{content:'Before both renders';}\n/* sc-component-id: PageOne */\n.PageOne {} .a{color:red;}</style><style data-styled-components=\"\">\n/* sc-component-id: sc-global-2914197427 */\nhtml::before{content:'During first render';}</style>\"\u001b[39m\n\u001b[32m+ \"<style data-styled-components=\"sc-global-737874422 a sc-global-2914197427\">html::before{content:'Before both renders';}.a{color:red;}html::before{content:'During first render';}</style>\"\u001b[39m\n at Object.<anonymous> (/Users/mitchellhamilton/projects/styled-components/src/test/ssr.test.js:191:20)\n at Object.asyncFn (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/jasmine-async.js:68:30)\n at resolve (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:38:12)\n at new Promise (<anonymous>)\n at mapper (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:31:21)\n at Promise.resolve.then.el (/Users/mitchellhamilton/projects/styled-components/node_modules/p-map/index.js:46:16)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:160:7)","Error: \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n\n\u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 4\u001b[39m.\n\n\u001b[31m- \"<style data-styled-components=\"b\">\n/* sc-component-id: sc-global-737874422 */\nhtml::before{content:'Before both renders';}\n/* sc-component-id: PageTwo */\n.PageTwo {} .b{color:blue;}\n/* sc-component-id: sc-global-2914197427 */\nhtml::before{content:'During first render';}\n/* sc-component-id: sc-global-1207956261 */\nhtml::before{content:'Between renders';}</style><style data-styled-components=\"\">\n/* sc-component-id: sc-global-3990873394 */\nhtml::before{content:'During second render';}</style>\"\u001b[39m\n\u001b[32m+ \"<style data-styled-components=\"sc-global-737874422 sc-global-2914197427 sc-global-1207956261 sc-global-3990873394 b\">html::before{content:'Before both renders';}html::before{content:'During first render';}html::before{content:'Between renders';}html::before{content:'During second render';}.b{color:blue;}</style>\"\u001b[39m\n at Object.<anonymous> (/Users/mitchellhamilton/projects/styled-components/src/test/ssr.test.js:193:20)\n at Object.asyncFn (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/jasmine-async.js:68:30)\n at resolve (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:38:12)\n at new Promise (<anonymous>)\n at mapper (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:31:21)\n at Promise.resolve.then.el (/Users/mitchellhamilton/projects/styled-components/node_modules/p-map/index.js:46:16)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:160:7)"],"status":"failed","title":"should allow global styles to be injected during rendering"},{"failureMessages":["Error: \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n\n\u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 2\u001b[39m.\n\n\u001b[31m- \"<style data-styled-components=\"a\">\n/* sc-component-id: sc-global-2303210225 */\nbody{background:papayawhip;}\n/* sc-component-id: Header */\n.Header {} .a{-webkit-animation:keyframe_0 1s both;animation:keyframe_0 1s both;}</style><style data-styled-components=\"keyframe_0\">\n/* sc-component-id: sc-keyframes-keyframe_0 */\n@-webkit-keyframes keyframe_0{0%{opacity:0;}} @keyframes keyframe_0{0%{opacity:0;}}</style>\"\u001b[39m\n\u001b[32m+ \"<style data-styled-components=\"sc-global-2303210225 sc-keyframes-keyframe_0 a\">body{background:papayawhip;}@-webkit-keyframes keyframe_0{0%{opacity:0;}}@keyframes keyframe_0{0%{opacity:0;}}.a{-webkit-animation:keyframe_0 1s both;animation:keyframe_0 1s both;}</style>\"\u001b[39m\n at Object.<anonymous> (/Users/mitchellhamilton/projects/styled-components/src/test/ssr.test.js:211:17)\n at Object.asyncFn (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/jasmine-async.js:68:30)\n at resolve (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:38:12)\n at new Promise (<anonymous>)\n at mapper (/Users/mitchellhamilton/projects/styled-components/node_modules/jest-jasmine2/build/queueRunner.js:31:21)\n at Promise.resolve.then.el (/Users/mitchellhamilton/projects/styled-components/node_modules/p-map/index.js:46:16)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:160:7)"],"status":"failed","title":"should dispatch global styles to each ServerStyleSheet"},{"failureMessages":[],"status":"passed","title":"should return a generated React style element"},{"failureMessages":[],"status":"passed","title":"should return a generated React style element with nonce if webpack nonce is preset in the global scope"},{"failureMessages":["Error: \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n\n\u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 1\u001b[39m.\n\n\u001b[31m- \"<style data-styled-components=\"b\" data-styled-streamed=\"true\">\n/* sc-component-id: sc-global-2303210225 */\nbody{background:papayawhip;}\n/* sc-component-id: sc-a */\n.sc-a {} .b{color:red;}</style><h1 class=\"sc-a b\" data-reactroot=\"\">Hello SSR!</h1>\"\u001b[39m\n\u001b[32m+ \"<style data-styled-components=\"sc-global-2303210225 b\" data-styled-streamed=\"true\">body{background:papayawhip;}.b{color:red;}</style><h1 class=\"sc-a b\" data-reactroot=\"\">Hello SSR!</h1>\"\u001b[39m\n at Readable.<anonymous> (/Users/mitchellhamilton/projects/styled-components/src/test/ssr.test.js:278:26)\n at Readable.emit (events.js:127:13)\n at endReadableNT (_stream_readable.js:1101:12)\n at process._tickCallback (internal/process/next_tick.js:152:19)"],"status":"failed","title":"should interleave styles with rendered HTML when utilitizing streaming"}],"endTime":1521955198428,"message":"\u001b[1m\u001b[31m \u001b[1m● \u001b[1mssr › should allow global styles to be injected during rendering\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n \n \u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 2\u001b[39m.\n \n \u001b[31m- \"<style data-styled-components=\"a\">\n /* sc-component-id: sc-global-737874422 */\n html::before{content:'Before both renders';}\n /* sc-component-id: PageOne */\n .PageOne {} .a{color:red;}</style><style data-styled-components=\"\">\n /* sc-component-id: sc-global-2914197427 */\n html::before{content:'During first render';}</style>\"\u001b[39m\n \u001b[32m+ \"<style data-styled-components=\"sc-global-737874422 a sc-global-2914197427\">html::before{content:'Before both renders';}.a{color:red;}html::before{content:'During first render';}</style>\"\u001b[39m\n\u001b[2m \n \u001b[2mat Object.<anonymous> (\u001b[2m\u001b[0m\u001b[36msrc/test/ssr.test.js\u001b[39m\u001b[0m\u001b[2m:191:20)\u001b[2m\n at new Promise (<anonymous>)\n \u001b[2mat Promise.resolve.then.el (\u001b[2m\u001b[0m\u001b[36mnode_modules/p-map/index.js\u001b[39m\u001b[0m\u001b[2m:46:16)\u001b[2m\n at <anonymous>\n \u001b[2mat process._tickCallback (\u001b[2m\u001b[0m\u001b[36minternal/process/next_tick.js\u001b[39m\u001b[0m\u001b[2m:160:7)\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[1mssr › should allow global styles to be injected during rendering\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n \n \u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 4\u001b[39m.\n \n \u001b[31m- \"<style data-styled-components=\"b\">\n /* sc-component-id: sc-global-737874422 */\n html::before{content:'Before both renders';}\n /* sc-component-id: PageTwo */\n .PageTwo {} .b{color:blue;}\n /* sc-component-id: sc-global-2914197427 */\n html::before{content:'During first render';}\n /* sc-component-id: sc-global-1207956261 */\n html::before{content:'Between renders';}</style><style data-styled-components=\"\">\n /* sc-component-id: sc-global-3990873394 */\n html::before{content:'During second render';}</style>\"\u001b[39m\n \u001b[32m+ \"<style data-styled-components=\"sc-global-737874422 sc-global-2914197427 sc-global-1207956261 sc-global-3990873394 b\">html::before{content:'Before both renders';}html::before{content:'During first render';}html::before{content:'Between renders';}html::before{content:'During second render';}.b{color:blue;}</style>\"\u001b[39m\n\u001b[2m \n \u001b[2mat Object.<anonymous> (\u001b[2m\u001b[0m\u001b[36msrc/test/ssr.test.js\u001b[39m\u001b[0m\u001b[2m:193:20)\u001b[2m\n at new Promise (<anonymous>)\n \u001b[2mat Promise.resolve.then.el (\u001b[2m\u001b[0m\u001b[36mnode_modules/p-map/index.js\u001b[39m\u001b[0m\u001b[2m:46:16)\u001b[2m\n at <anonymous>\n \u001b[2mat process._tickCallback (\u001b[2m\u001b[0m\u001b[36minternal/process/next_tick.js\u001b[39m\u001b[0m\u001b[2m:160:7)\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[1mssr › should dispatch global styles to each ServerStyleSheet\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n \n \u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 2\u001b[39m.\n \n \u001b[31m- \"<style data-styled-components=\"a\">\n /* sc-component-id: sc-global-2303210225 */\n body{background:papayawhip;}\n /* sc-component-id: Header */\n .Header {} .a{-webkit-animation:keyframe_0 1s both;animation:keyframe_0 1s both;}</style><style data-styled-components=\"keyframe_0\">\n /* sc-component-id: sc-keyframes-keyframe_0 */\n @-webkit-keyframes keyframe_0{0%{opacity:0;}} @keyframes keyframe_0{0%{opacity:0;}}</style>\"\u001b[39m\n \u001b[32m+ \"<style data-styled-components=\"sc-global-2303210225 sc-keyframes-keyframe_0 a\">body{background:papayawhip;}@-webkit-keyframes keyframe_0{0%{opacity:0;}}@keyframes keyframe_0{0%{opacity:0;}}.a{-webkit-animation:keyframe_0 1s both;animation:keyframe_0 1s both;}</style>\"\u001b[39m\n\u001b[2m \n \u001b[2mat Object.<anonymous> (\u001b[2m\u001b[0m\u001b[36msrc/test/ssr.test.js\u001b[39m\u001b[0m\u001b[2m:211:17)\u001b[2m\n at new Promise (<anonymous>)\n \u001b[2mat Promise.resolve.then.el (\u001b[2m\u001b[0m\u001b[36mnode_modules/p-map/index.js\u001b[39m\u001b[0m\u001b[2m:46:16)\u001b[2m\n at <anonymous>\n \u001b[2mat process._tickCallback (\u001b[2m\u001b[0m\u001b[36minternal/process/next_tick.js\u001b[39m\u001b[0m\u001b[2m:160:7)\u001b[2m\u001b[22m\n\n\u001b[1m\u001b[31m \u001b[1m● \u001b[1mssr › should interleave styles with rendered HTML when utilitizing streaming\u001b[39m\u001b[22m\n\n \u001b[2mexpect(\u001b[22m\u001b[31mvalue\u001b[39m\u001b[2m).toMatchSnapshot(\u001b[22m\u001b[2m)\u001b[22m\n \n \u001b[31mReceived value\u001b[39m does not match \u001b[32mstored snapshot 1\u001b[39m.\n \n \u001b[31m- \"<style data-styled-components=\"b\" data-styled-streamed=\"true\">\n /* sc-component-id: sc-global-2303210225 */\n body{background:papayawhip;}\n /* sc-component-id: sc-a */\n .sc-a {} .b{color:red;}</style><h1 class=\"sc-a b\" data-reactroot=\"\">Hello SSR!</h1>\"\u001b[39m\n \u001b[32m+ \"<style data-styled-components=\"sc-global-2303210225 b\" data-styled-streamed=\"true\">body{background:papayawhip;}.b{color:red;}</style><h1 class=\"sc-a b\" data-reactroot=\"\">Hello SSR!</h1>\"\u001b[39m\n\u001b[2m \n \u001b[2mat Readable.<anonymous> (\u001b[2m\u001b[0m\u001b[36msrc/test/ssr.test.js\u001b[39m\u001b[0m\u001b[2m:278:26)\u001b[2m\n \u001b[2mat Readable.emit (\u001b[2m\u001b[0m\u001b[36mevents.js\u001b[39m\u001b[0m\u001b[2m:127:13)\u001b[2m\n \u001b[2mat endReadableNT (\u001b[2m\u001b[0m\u001b[36m_stream_readable.js\u001b[39m\u001b[0m\u001b[2m:1101:12)\u001b[2m\n \u001b[2mat process._tickCallback (\u001b[2m\u001b[0m\u001b[36minternal/process/next_tick.js\u001b[39m\u001b[0m\u001b[2m:152:19)\u001b[2m\u001b[22m\n","name":"/Users/mitchellhamilton/projects/styled-components/src/test/ssr.test.js","startTime":1521955198145,"status":"failed","summary":""}],"wasInterrupted":false}