import { test } from '../../test';

// There is no relationship between the attribute and the dom node with regards to microdata attributes https://developer.mozilla.org/en-US/docs/Web/HTML/Microdata
export default test({
	html: `<div itemscope itemtype="https://schema.org/SoftwareApplication">
	<span itemprop="name">Game</span> - REQUIRES
	<span itemprop="operatingSystem">OS</span><br/>
	<link itemprop="applicationCategory" href="https://schema.org/GameApplication"/>

	<div itemprop="aggregateRating" itemscope="" itemtype="https://schema.org/AggregateRating">RATING:
		<span itemprop="ratingValue">4.6</span> (
		<span itemprop="ratingCount">8864</span> ratings )</div>
	<div itemref="offers"></div>
</div>

<div
	itemprop="offers"
	itemid="offers"
	id="offers"
	itemscope
	itemtype="https://schema.org/Offer"
>
	Price: $<span itemprop="price">1.00</span>
<meta itemprop="priceCurrency" content="USD"/>
</div>
	`
});
