google/open-location-code

Update JSON file access by karma/jasmine tests

開放

#324 建立於 2019年5月3日

 (2 則留言) (0 個反應) (0 位負責人)Java (500 個分叉)batch import
help wantedjs

倉庫指標

星標
 (3,945 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Existing node JS tests (in js/test) use a combination of gulp and phantomjs to run.

phantomjs is now unsupported (and seems to be a pain to get working locally) so it would be good to refactor the tests to use karma/jasmine.

I've had a quick go at this but got stuck trying to get the test functions to access the CSV files. (If we have to we could convert them to JSON as part of the test script.)

貢獻者指南