-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: read current password when constructing v3 wallet #261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work on tests! Thanks :-)
@@ -29,7 +29,7 @@ | |||
"lint": "eslint --fix \"src/**/*.ts\" && cd ui && npm run lint", | |||
"lint:check": "eslint \"src/**/*.ts\" && cd ui && npm run lint:check", | |||
"check:types": "tsc --project tsconfig.test.json && cd ui && tsc --project tsconfig.test.json", | |||
"test:unit": "jest --verbose -config=jest.config.ts " | |||
"test:unit": "jest --verbose --config=jest.config.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -0,0 +1,46 @@ | |||
import { existsSync, unlinkSync, writeFileSync } from 'fs-extra' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 👍
Extracted password reading into a utility function.
Fixed tests, we only had one but that was outdated and did not run either. Would like to reintroduce testing our modules.