Mithril + Custom Elements

Browser: HeadlessChrome 77.0.3865 (Mac OS X 10.15.0)
Timestamp: 2019-10-28 11:56:32

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

basic support

no children

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

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

with children

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

attributes and properties

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

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 0.001s

events

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

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.eval (webpack:///./src/advanced-tests.js?:53:70)

attributes and properties

will pass object data as a property
Failed

AssertionError: expected undefined to deeply equal { Object (org, repo) }
at Context.eval (webpack:///./src/advanced-tests.js?:60:70)

events

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

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

events

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

Browser: FirefoxHeadless
Timestamp: 2019-10-28 11:56:34

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

basic support

no children

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

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

with children

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

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

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' ]
AssertionError@webpack:///./node_modules/assertion-error/index.js?:74:13
module.exports/Assertion.prototype.assert@webpack:///./node_modules/chai/lib/chai/assertion.js?:141:13
assertEql@webpack:///./node_modules/chai/lib/chai/core/assertions.js?:1084:10
methodWrapper@webpack:///./node_modules/chai/lib/chai/utils/addMethod.js?:57:25
@webpack:///./src/advanced-tests.js?:53:70

attributes and properties

will pass object data as a property
Failed

expected undefined to deeply equal { Object (org, repo) }
AssertionError@webpack:///./node_modules/assertion-error/index.js?:74:13
module.exports/Assertion.prototype.assert@webpack:///./node_modules/chai/lib/chai/assertion.js?:141:13
assertEql@webpack:///./node_modules/chai/lib/chai/core/assertions.js?:1084:10
methodWrapper@webpack:///./node_modules/chai/lib/chai/utils/addMethod.js?:57:25
@webpack:///./src/advanced-tests.js?:60:70

events

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

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

events

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

events

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