Fix tests

This commit is contained in:
pietervdvn 2022-06-27 23:57:04 +02:00
parent be38294a7f
commit 8faddbd0b5

View file

@ -81,6 +81,7 @@ function fuzzIdenticals(features: {geometry: {coordinates: [number,number]}}[]){
/** /**
* Sorts classifications in order * Sorts classifications in order
*
* sortClassifications(["primary","secondary","kindergarten"] // => ["kindergarten", "primary", "secondary"] * sortClassifications(["primary","secondary","kindergarten"] // => ["kindergarten", "primary", "secondary"]
*/ */
function sortClassifications(classification: string[]){ function sortClassifications(classification: string[]){
@ -231,4 +232,6 @@ function main() {
console.log("Done") console.log("Done")
} }
main() if(!process.argv[1].endsWith("mocha")){
main()
}