mirror of
https://github.com/maputnik/editor.git
synced 2026-01-07 05:50:01 +00:00
Added more functional tests.
This commit is contained in:
@@ -78,6 +78,14 @@ app.get("/styles/empty/:sources", function(req, res) {
|
||||
res.send(json);
|
||||
})
|
||||
|
||||
app.get("/example-layer-style.json", function(req, res) {
|
||||
res.json(
|
||||
JSON.parse(
|
||||
fs.readFileSync(__dirname+"/example-layer-style.json").toString()
|
||||
)
|
||||
);
|
||||
})
|
||||
|
||||
app.get("/example-style.json", function(req, res) {
|
||||
res.json(
|
||||
JSON.parse(
|
||||
|
||||
Reference in New Issue
Block a user