add a bunch of tests.

This commit is contained in:
fiatjaf
2022-12-19 19:51:55 -03:00
parent a49d971f6a
commit 1162935f58
7 changed files with 138 additions and 4 deletions

View File

@@ -34,11 +34,14 @@
"eslint-plugin-babel": "^5.3.1",
"esm-loader-typescript": "^1.0.1",
"events": "^3.3.0",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"tsd": "^0.22.0",
"typescript": "^4.9.4"
},
"scripts": {
"build": "node build.cjs",
"prepublish": "yarn run build"
"pretest": "node build.cjs",
"test": "jest"
}
}