mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
test: update address-codec tests to typescript (#2447)
- Switch files to typescript - Add missing types in test files - Change how the codec functions were imported. They now count towards the "% Funcs" calculation, increasing it from 75% to 100%. - Lint test files
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
"prepublish": "tsc -b",
|
||||
"prepublishOnly": "tslint -b ./ && jest",
|
||||
"scripts": {
|
||||
"build": "tsc -b",
|
||||
"test": "jest --verbose false --silent=false ./src/*.test.js",
|
||||
"build": "tsc --build tsconfig.build.json",
|
||||
"test": "jest --verbose false --silent=false ./test/*.test.ts",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo"
|
||||
"clean": "rm -rf ./dist && rm -rf ./coverage && rm -rf tsconfig.tsbuildinfo"
|
||||
},
|
||||
"prettier": "@xrplf/prettier-config",
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user