mirror of https://github.com/pelias/api.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
989 B
36 lines
989 B
|
|
var tape = require('tape'); |
|
var common = {}; |
|
|
|
var tests = [ |
|
require('./controller/index'), |
|
require('./controller/place'), |
|
require('./controller/search'), |
|
require('./service/mget'), |
|
require('./service/search'), |
|
require('./sanitiser/_ids'), |
|
require('./sanitiser/_flag_bool'), |
|
require('./sanitiser/autocomplete'), |
|
require('./sanitiser/_sources'), |
|
require('./sanitiser/_boundary_country'), |
|
require('./sanitiser/search'), |
|
require('./sanitiser/_layers'), |
|
require('./sanitiser/reverse'), |
|
require('./sanitiser/place'), |
|
require('./query/types'), |
|
require('./query/search'), |
|
require('./query/autocomplete'), |
|
require('./query/reverse'), |
|
require('./query/defaults'), |
|
require('./helper/query_parser'), |
|
require('./helper/geojsonify'), |
|
require('./helper/outputSchema'), |
|
require('./helper/types'), |
|
require('./sanitiser/_geo_common'), |
|
require('./middleware/distance'), |
|
require('./sanitiser/_size'), |
|
]; |
|
|
|
tests.map(function(t) { |
|
t.all(tape, common); |
|
});
|
|
|