You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
Add a template var test to the style template. The vars to this template are passed in here (https://github.com/mapbox/tm2/blob/master/index.js#L148-L155). If you add a value like test: 'test' in req.query, then in the template you'll be able to only include test scripts if test is in the querystring.
Include chai, mocha, and a test lib for the style page in the template. Do this at the end.
Tests for UI interaction need to be built out to ensure we don't break interactions moving forward.
Looks like mocha is already in place for API side tests my plan would be to use mocha for this as well.
The text was updated successfully, but these errors were encountered: