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:
Caleb Kniffen
2023-08-31 18:26:24 -05:00
parent 9676b218b7
commit 3d86318195
9 changed files with 105 additions and 67 deletions

View File

@@ -3,5 +3,6 @@ const base = require('../../jest.config.base.js')
module.exports = {
...base,
roots: [...base.roots, '<rootDir>/test'],
displayName: 'ripple-address-codec',
}