Tram-One / tram-one

🚋 Legacy View Framework For Vanilla Javascript
http://tram-one.io/
MIT License
36 stars 8 forks source link

Update and fix tests #165

Closed JRJurman closed 3 years ago

JRJurman commented 3 years ago

Summary

Updated the dependencies in tram-one, and a bunch of tests started failing. It turns out the definition for toBeVisible now requires the element to be in the document (which in reality makes sense). Luckily, we needed to have the app in the document for the focus tests, so this was an easy fix, and we just now have the app mount in the document by default.

Checklist