MatrixAI/js-virtualfs

Convert ava tests so they work in-browser and on node and on the built distributions

Closed this issue · 2 comments

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.

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.

This is not important anymore. So I'm going to close it.