forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
be38294a7f
commit
8faddbd0b5
1 changed files with 4 additions and 1 deletions
|
@ -81,6 +81,7 @@ function fuzzIdenticals(features: {geometry: {coordinates: [number,number]}}[]){
|
|||
|
||||
/**
|
||||
* Sorts classifications in order
|
||||
*
|
||||
* sortClassifications(["primary","secondary","kindergarten"] // => ["kindergarten", "primary", "secondary"]
|
||||
*/
|
||||
function sortClassifications(classification: string[]){
|
||||
|
@ -231,4 +232,6 @@ function main() {
|
|||
console.log("Done")
|
||||
}
|
||||
|
||||
if(!process.argv[1].endsWith("mocha")){
|
||||
main()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue