Convert ava tests so they work in-browser and on node and on the built distributions
Closed this issue · 2 comments
CMCDragonkai commented
Currently the ava tests only run against the source.
The tests don't run on the built distributions. And in the case of the browser target, it should be tested within a browser environment.
CMCDragonkai commented
For a quick import test of the browser target:
<html>
<head>
<meta charset="UTF-8">
<title>test</title>
<script type="text/javascript" src="./dist/index.browser.umd.js"></script>
</head>
<body>
<p>test</p>
</body>
</html>
And save and load it as index.html.
CMCDragonkai commented
This is not important anymore. So I'm going to close it.