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

npm run test does not work when using Testnet #3

Open
jiveyTO opened this issue Feb 19, 2023 · 2 comments
Open

npm run test does not work when using Testnet #3

jiveyTO opened this issue Feb 19, 2023 · 2 comments

Comments

@jiveyTO
Copy link

jiveyTO commented Feb 19, 2023

It looks like this account used for the test is only on Devnet

  data: {
    account: 'rJnCJZZXSSnuDi9YVgrAatVqSvktTeXr5r',
    error: 'actNotFound',
    error_code: 19,
    error_message: 'Account not found.',
    id: 0,
    ledger_hash: '913B07EED1FB1FEBC16AE55B28A8AEF31C90E0B334718B00DE1F75C7DBC1BDBE',
    ledger_index: 35508363,
    request: {
      account: 'rJnCJZZXSSnuDi9YVgrAatVqSvktTeXr5r',
      command: 'account_info',
      id: 0,
      ledger_index: 'validated'
    },
    status: 'error',
    type: 'response',
    validated: true
  }
@jonathanlei
Copy link
Collaborator

@JustAnotherDevv

@JustAnotherDevv
Copy link
Contributor

JustAnotherDevv commented May 15, 2023

@jiveyTO Just saw this. Please mind that created tests are only for demonstration purposes and so that you can quickly check locally if the code you have is working correctly after making some changes. Practically there is no difference between running tests on devnet vs testnet.

If you want to use the project itself on the Devnet you should be able to do so. If you want to run tests on the Testnet instead of devnet it is possible to just change account address.

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

No branches or pull requests

3 participants