ember-twiddle icon indicating copy to clipboard operation
ember-twiddle copied to clipboard

Tests, assert.dom

Open jrock2004 opened this issue 5 years ago • 2 comments

Are we allowed to use assert.dom in the tests? I try to do that and it seems to not work.

https://ember-twiddle.com/851b56060cf554c050b7a49833f52290?openFiles=templates.components.ui-input.hbs

jrock2004 avatar Sep 14 '20 23:09 jrock2004

That depends on the qunit-dom library.

knownasilya avatar Sep 15 '20 01:09 knownasilya

Just adding the library doesn't work:

image

We don't have a mechanism for indicating that a library should be loaded after ember and its testing libs but before the code, right now dependencies are loaded first.

Gaurav0 avatar Sep 15 '20 02:09 Gaurav0