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