Svelte + Custom Elements

Browser: FirefoxHeadless
Timestamp: 2018-5-14 11:22:00

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

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

with children

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

with children

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

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

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

expected undefined to deeply equal [ 's', 'v', 'e', 'l', 't', 'e' ]
[email protected]:///node_modules/assertion-error/index.js:74:0 <- tests.webpack.js:110:475
e.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:296:1366
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:244:1956
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:361:126
@webpack:///src/advanced-tests.js:49:6 <- tests.webpack.js:125:699

attributes and properties

will pass object data as a property
Failed

expected undefined to deeply equal { org: 'sveltejs', repo: 'svelte' }
[email protected]:///node_modules/assertion-error/index.js:74:0 <- tests.webpack.js:110:475
e.exports/[email protected]:///node_modules/chai/lib/chai/assertion.js:141:0 <- tests.webpack.js:296:1366
[email protected]:///node_modules/chai/lib/chai/core/assertions.js:1080:0 <- tests.webpack.js:244:1956
[email protected]:///node_modules/chai/lib/chai/utils/addMethod.js:57:0 <- tests.webpack.js:361:126
@webpack:///src/advanced-tests.js:57:6 <- tests.webpack.js:125:892

events

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

events

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

events

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

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

Browser: HeadlessChrome 0.0.0 (Mac OS X 10.13.4)
Timestamp: 2018-5-14 11:22:09

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

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

with children

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

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

advanced support

attributes and properties

will pass array data as a property
Failed

AssertionError: expected undefined to deeply equal [ 's', 'v', 'e', 'l', 't', 'e' ]
at Context.<anonymous> (webpack:///src/advanced-tests.js:49:22 <- tests.webpack.js:125:717)

attributes and properties

will pass object data as a property
Failed

AssertionError: expected undefined to deeply equal { org: 'sveltejs', repo: 'svelte' }
at Context.<anonymous> (webpack:///src/advanced-tests.js:57:22 <- tests.webpack.js:125:910)

events

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

events

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

events

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

events

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

events

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