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.
26 lines
634 B
26 lines
634 B
|
|
var tape = require('tape'); |
|
var common = {}; |
|
|
|
var tests = [ |
|
require('./controller/index'), |
|
require('./controller/doc'), |
|
require('./controller/suggest'), |
|
require('./controller/suggest_nearby'), |
|
require('./controller/search'), |
|
require('./service/mget'), |
|
require('./service/search'), |
|
require('./service/suggest'), |
|
require('./sanitiser/suggest'), |
|
require('./sanitiser/doc'), |
|
require('./query/indeces'), |
|
require('./query/suggest'), |
|
require('./query/search'), |
|
require('./query/reverse'), |
|
require('./helper/geojsonify'), |
|
require('./helper/outputSchema') |
|
]; |
|
|
|
tests.map(function(t) { |
|
t.all(tape, common); |
|
}); |