(shouldBeElement, opt_message)
| 65 | * @throws {Error} when shouldBeElement is not an Element |
| 66 | */ |
| 67 | export function userAssertElement(shouldBeElement, opt_message) { |
| 68 | return assertions.assertElement( |
| 69 | /** @type {import('./base').AssertionFunctionDef} */ (userAssert), |
| 70 | shouldBeElement, |
| 71 | opt_message |
| 72 | ); |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Throws an error if the first argument isn't a string. The string can |
nothing calls this directly
no test coverage detected