UNPKG

ember-native-dom-helpers

Version:

Test helpers for your integration tests that fire native events

13 lines (11 loc) 431 B
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); }