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