Skip to content

Latest commit

 

History

History
 
 

testing-wallaby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Testing in IDE via Wallaby

Wallaby.js is a Plugin for your IDE and runs tests in real time while you are typing.

Using:

Setup

npm init @open-wc

Manual

  1. Copy the config and save it as wallaby.js into your project root
  2. npm i -D @open-wc/testing-wallaby

Usage

Open your wallaby.js supported IDE and start with the provided config.

Example

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>