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.
18 lines
451 B
18 lines
451 B
var tape = require('tape'), |
|
diff = require('difflet')({ indent : 2, comment : true }); |
|
|
|
var common = { |
|
// a visual deep diff rendered using console.error() |
|
diff: function( actual, expected ){ |
|
console.error( diff.compare( actual, expected ) ); |
|
} |
|
}; |
|
|
|
var tests = [ |
|
require('./helper/intersectionsParsing'), |
|
require('./controller/predicates/is_intersection_layer') |
|
]; |
|
|
|
tests.map(function(t) { |
|
t.all(tape, common); |
|
});
|
|
|