tests: Fix multiple suites example (#2279)

This commit is contained in:
Jean Marchand (Exotic Markets) 2022-11-23 11:48:46 +01:00 committed by GitHub
parent be67192f2b
commit c0d3ff2d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -14,5 +14,5 @@ wallet = "~/.config/solana/id.json"
startup_wait = 20000
[[test.validator.account]]
address = "C4XeBpzX4tDjGV1gkLsj7jJh6XHunVqAykANWCfTLszw"
address = "3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj"
filename = "./tests/accounts/SOME_ACCOUNT.json"

View File

@ -24,10 +24,8 @@ describe("multiple-suites", () => {
new PublicKey("3vMPj13emX9JmifYcWc77ekEzV1F37ga36E1YeSr6Mdj")
);
// TODO: This test is failing, SOME_TOKEN is not null and SOME_ACCOUNT is null
// and i cannot figure out how this works. Possibly broken by solana-cli v1.14.7
// assert.isNull(SOME_TOKEN);
// assert.isNotNull(SOME_ACCOUNT);
assert.isNull(SOME_TOKEN);
assert.isNotNull(SOME_ACCOUNT);
console.log("Your transaction signature", tx);
});