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.
19 lines
451 B
19 lines
451 B
7 years ago
|
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);
|
||
|
});
|