CanJS + Custom Elements

Browser: HeadlessChrome 0.0.0 (Mac OS X 10.12.6)
Timestamp: 11/16/2017, 4:29:10 PM

15 tests / 0 errors / 2 failures / 0 skipped / runtime: 0.334s

no children

can display a Custom Element with no children
Passed in 0.091s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.009s

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.029s

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.04s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.005s

will pass numeric data as either an attribute or a property
Passed in 0.008s

will pass string data as either an attribute or a property
Passed in 0.004s

will pass array data as a property
Failed

Error: Expected undefined to equal [ 'C', 'a', 'n', 'j', 's' ]
at assert (webpack:///node_modules/expect/lib/assert.js:29:0 <- tests.webpack.js:12365:9)
at Expectation.toEqual (webpack:///node_modules/expect/lib/Expectation.js:81:0 <- tests.webpack.js:16544:30)
at Context.<anonymous> (webpack:///src/component-tests.js:125:17 <- tests.webpack.js:17816:58)

will pass object data as a property
Failed

Error: Expected undefined to equal { org: 'canjs', repo: 'CanJS' }
at assert (webpack:///node_modules/expect/lib/assert.js:29:0 <- tests.webpack.js:12365:9)
at Expectation.toEqual (webpack:///node_modules/expect/lib/Expectation.js:81:0 <- tests.webpack.js:16544:30)
at Context.<anonymous> (webpack:///src/component-tests.js:132:17 <- tests.webpack.js:17823:58)

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.016s

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.012s

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.005s

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.004s

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.059s

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.043s

System output:
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-without-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Browser: Firefox 57.0.0 (Mac OS X 10.12.0)
Timestamp: 11/16/2017, 4:29:13 PM

15 tests / 0 errors / 2 failures / 0 skipped / runtime: 0.326s

no children

can display a Custom Element with no children
Passed in 0.014s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.008s

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.023s

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.023s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.012s

will pass numeric data as either an attribute or a property
Passed in 0.013s

will pass string data as either an attribute or a property
Passed in 0.013s

will pass array data as a property
Failed

Expected undefined to equal [ 'C', 'a', 'n', 'j', 's' ]
[email protected]:///node_modules/expect/lib/assert.js:29:0 <- tests.webpack.js:12365:9
[email protected]:///node_modules/expect/lib/Expectation.js:81:0 <- tests.webpack.js:16544:10
@webpack:///src/component-tests.js:125:4 <- tests.webpack.js:17816:5

will pass object data as a property
Failed

Expected undefined to equal { org: 'canjs', repo: 'CanJS' }
[email protected]:///node_modules/expect/lib/assert.js:29:0 <- tests.webpack.js:12365:9
[email protected]:///node_modules/expect/lib/Expectation.js:81:0 <- tests.webpack.js:16544:10
@webpack:///src/component-tests.js:132:4 <- tests.webpack.js:17823:5

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.039s

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.062s

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.021s

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.03s

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.017s

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.031s

System output:
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-without-children'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-children'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-properties'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) ERROR: 'ERROR:', 'Attempting to set a value at scope.view where scope is undefined.'
Firefox 57.0.0 (Mac OS X 10.12.0) WARN: 'WARN:', 'can-view-callbacks: No custom element found for ce-with-event'