Methods
andQueryString()
Configure a query string to be present when the custom elements are defined and connected.
- Source:
onFetch(url, behavior)
Configure behavior when #{link external:fetch} is called, since it's not implemented by JSDom or NodeJS.
Parameters:
Name | Type | Description |
---|---|---|
url |
String | the URL that is expected. This should be a relative URL, as that is all that is currently supported. This
URL must match exactly to a |
behavior |
Object | an object describing what you want to happen when
|
- Source:
test(description, testCode)
Declare a test to run with the previously-defined HTML, query string, and fetch behavior.
Parameters:
Name | Type | Description |
---|---|---|
description |
String | a description of the test. |
testCode |
testCodeCallback | a function containing the code for your test. |
- Source:
xtest()
Comment out a test without using code comments
- Source: