Skip to content
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

Updated tests #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated tests #24

wants to merge 1 commit into from

Conversation

sandertar
Copy link

Hi PsychicCat,
I really impressed of this library and want to help you develop it. I've added some tests and parameters that will help to run test script on different environment.

Thank you!

Copy link
Collaborator

@sneurlax sneurlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This library hasn't been updated to the latest Monero version. Check the updated branches of the monerojs package


describe('methods', () => {
describe('create_wallet()', () => {
it('should create a new wallet monero_wallet (if monero_wallet doesn\'t exist)', (done) => {
Wallet.create_wallet('monero_wallet').then(function(result){
if (result.hasOwnProperty('error')) {
if (result.hasOwnProperty('error')) {
if (result.error.code == -21) {
if (result.error.code === -21) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sandertar
Copy link
Author

I see. So we can close this pull request as this library use old Monero version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants