Mithril + Custom Elements

Browser: HeadlessChrome 62.0.3202 (Linux 0.0.0)
Timestamp: 2/15/2019, 6:55:34 PM

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

basic support

no children

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

with children

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

with children

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

with children

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

attributes and properties

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

attributes and properties

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

attributes and properties

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

events

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

advanced support

attributes and properties

will pass array data as a property
Failed

AssertionError: expected undefined to deeply equal [ 'M', 'i', 't', 'h', 'r', 'i', 'l' ]
at Context.<anonymous> (webpack:///src/advanced-tests.js:55:24 <- tests.webpack.js:13420:71)

attributes and properties

will pass object data as a property
Failed

AssertionError: expected undefined to deeply equal { Object (org, repo) }
at Context.<anonymous> (webpack:///src/advanced-tests.js:62:24 <- tests.webpack.js:13427:71)

events

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

events

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

events

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

events

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

events

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

Browser: FirefoxHeadless
Timestamp: 2/15/2019, 6:55:36 PM

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

basic support

no children

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

with children

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

with children

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

with children

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

attributes and properties

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

attributes and properties

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

attributes and properties

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

events

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

advanced support

attributes and properties

will pass array data as a property
Failed

expected undefined to deeply equal [ 'M', 'i', 't', 'h', 'r', 'i', 'l' ]
[email protected]:///node_modules/assertion-error/index.js:74 <- tests.webpack.js:2754:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141 <- tests.webpack.js:5437:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1084 <- tests.webpack.js:6551:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- tests.webpack.js:4567:18
@webpack:///src/advanced-tests.js:55:6 <- tests.webpack.js:13420:7

attributes and properties

will pass object data as a property
Failed

expected undefined to deeply equal { Object (org, repo) }
[email protected]:///node_modules/assertion-error/index.js:74 <- tests.webpack.js:2754:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141 <- tests.webpack.js:5437:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1084 <- tests.webpack.js:6551:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57 <- tests.webpack.js:4567:18
@webpack:///src/advanced-tests.js:62:6 <- tests.webpack.js:13427:7

events

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

events

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

events

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

events

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

events

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