refactor(utils): specify error type in catch blocks for exchange rate… #26
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
tests/utils.test.ts:
utils/places/providers.ts#L3
Error: Cannot find module '@/utils' imported from '/home/runner/work/suri-rate/suri-rate/utils/places/providers.ts'.
- If you rely on tsconfig.json's "paths" to resolve modules, please install "vite-tsconfig-paths" plugin to handle module resolution.
- Make sure you don't have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors
❯ utils/places/providers.ts:3:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
|