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

@@ -5,7 +5,7 @@ module.exports = {
parserOptions: {
// Enable linting rules with type information from our tsconfig
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
project: ['./tsconfig.eslint.json'],
sourceType: 'module', // Allow the use of imports / ES modules