Mithril + Custom Elements

Browser: HeadlessChrome 0.0.0 (Mac OS X 10.13.6)
Timestamp: 2018-9-1 11:12:44

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

basic support

no children

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

with children

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

with children

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

with children

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

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 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.012s

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:13280: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:13287:71)

events

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

events

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

events

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

events

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

events

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

Browser: FirefoxHeadless
Timestamp: 2018-9-1 11:12:46

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

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.003s

with children

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

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.002s

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.018s

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:0 <- tests.webpack.js:2741:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:5425:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:6535:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:4555:18
@webpack:///src/advanced-tests.js:55:6 <- tests.webpack.js:13280: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:0 <- tests.webpack.js:2741:13
module.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:5425:13
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:6535:5
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:4555:18
@webpack:///src/advanced-tests.js:62:6 <- tests.webpack.js:13287:7

events

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

events

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

events

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

events

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

events

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