From e62c23b25321423d5b8c5a08a786ba8543e06eb0 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Mon, 8 Mar 2021 11:51:50 +0100 Subject: [PATCH] Add test script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 8157c1a..c813948 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "prettier-format": "prettier --config .prettierrc '**/*.ts' --write", "ts:compile": "tsc", "ts:definitions": "tsc --declaration --outDir . --emitDeclarationOnly", + "tests": "mocha --require ts-node/register test/**/*.ts", "publish": "npm publish", "run-example": "npm run ts:compile && node ./dist/example.js" },