README
Polymer Siren Test Helpers
Usage
const element = SirenFixture.load('data/test.json', element);
This will load data/test.json
before setting the href and token so that the data is prefetched and ready for the element.
Usage const element = SirenFixture.load('data/test.json', element);
<script type="module">
import polymerSirenTestHelpers from 'https://cdn.skypack.dev/polymer-siren-test-helpers';
</script>
Usage
const element = SirenFixture.load('data/test.json', element);
This will load data/test.json
before setting the href and token so that the data is prefetched and ready for the element.