Wallaby.js is a Plugin for your IDE and runs tests in real time while you are typing.
Using:
- In IDE Testing via wallaby.js
npm init @open-wc
- Copy the config and save it as
wallaby.js
into your project root npm i -D @open-wc/testing-wallaby
Open your wallaby.js supported IDE and start with the provided config.
The Set-Game Example has Wallaby Setup.
<script> export default { mounted() { const editLink = document.querySelector('.edit-link a'); if (editLink) { const url = editLink.href; editLink.href = url.substr(0, url.indexOf('/master/')) + '/master/packages/testing-wallaby/README.md'; } } } </script>