MCPcopy
hub / github.com/tilemill-project/tilemill / readJSON

Function readJSON

test/datasource.test.js:8–11  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6var tile;
7
8function readJSON(name) {
9 var json = fs.readFileSync(path.resolve(__dirname + '/fixtures/' + name + '.json'), 'utf8');
10 return JSON.parse(json);
11}
12
13describe('Testing Datasource Functions (datasource.test.js)', function() {
14

Callers 1

datasource.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected