chore: use mocha locally to run the tests

This commit is contained in:
Alexis Métaireau 2024-03-22 17:04:32 +01:00
parent 15964b2edb
commit 41da376f50

View file

@ -2,6 +2,7 @@
"name": "umap",
"version": "1.0.0-alpha.1",
"description": "Manage map and features with Leaflet and expose them for backend storage through an API.",
"type": "module",
"directories": {
"test": "test"
},
@ -12,14 +13,14 @@
"fetch-mock": "^9.11.0",
"happen": "~0.1.3",
"lebab": "^3.2.1",
"mocha": "^10.2.0",
"mocha": "^10.3.0",
"optimist": "~0.4.0",
"prettier": "^2.8.8",
"sinon": "^15.1.0",
"uglify-js": "~3.17.4"
},
"scripts": {
"test": "firefox test/index.html",
"test": "node_modules/mocha/bin/mocha.js",
"vendors": "scripts/vendorsjs.sh"
},
"repository": {
@ -30,7 +31,7 @@
"leaflet"
],
"author": "Yohan Boniface",
"license": "WTFPL",
"license": "AGPLv3",
"bugs": {
"url": "https://github.com/umap-project/Leaflet.Storage/issues"
},