ember-legacy-class-transform
Version:
The default blueprint for ember-cli addons.
13 lines (11 loc) • 431 B
JavaScript
import getElementWithAssert from './-private/get-element-with-assert';
/*
@method findWithAssert
@param {String} CSS selector to find elements in the test DOM
@param {HTMLElement} contextEl to query within, query from its contained DOM
@return {Error|HTMLElement} element if found, or raises an error
@public
*/
export function findWithAssert(selector, contextEl) {
return getElementWithAssert(selector, contextEl);
}