diff --git a/package.json b/package.json index 2fed94a8..d592cac4 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint": "eslint src/htmx.js test/attributes/ test/core/ test/util/", "lint-fix": "eslint src/htmx.js test/attributes/ test/core/ test/util/ --fix", "format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/", - "test": "npm run lint && mocha-chrome test/index.html", + "test": "npm run lint && tsc --project ./jsconfig.json --noEmit true --emitDeclarationOnly false && mocha-chrome test/index.html", "type-declarations": "tsc --project ./jsconfig.json", "ws-tests": "cd ./test/ws-sse && node ./server.js", "www": "bash ./scripts/www.sh"