After I broke five charts with replacing parseData.fromCSV with parseData.load (which this PR fixes), I figured it wouldn't be the worst idea to add some very light regression testing to ensure that templates don't throw exceptions out of the gate.
The test running sets up a mini server and then uses headless Chrome to load each template in serial, waits until no further requests are being made by the browser, then passes if no resource or JS errors are thrown. This only gets run by CircleCI, meaning we get little badges telling us whether it passed or not, and we can investigate when PRs fail.
After I broke five charts with replacing
parseData.fromCSV
withparseData.load
(which this PR fixes), I figured it wouldn't be the worst idea to add some very light regression testing to ensure that templates don't throw exceptions out of the gate.The test running sets up a mini server and then uses headless Chrome to load each template in serial, waits until no further requests are being made by the browser, then passes if no resource or JS errors are thrown. This only gets run by CircleCI, meaning we get little badges telling us whether it passed or not, and we can investigate when PRs fail.