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