Skip to content

Commit

Permalink
test: repair tests, space having been added to the account response
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed Oct 20, 2022
1 parent c68fb5f commit dcd9ae9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web3.js/test/connection-subscriptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ describe('Subscriptions', () => {
lamports: 0,
owner: PublicKey.default.toBase58(),
rentEpoch: 0,
space: 0,
},
},
});
Expand Down Expand Up @@ -210,6 +211,7 @@ describe('Subscriptions', () => {
lamports: 0,
owner: PublicKey.default.toBase58(),
rentEpoch: 0,
space: 0,
},
},
},
Expand Down
5 changes: 5 additions & 0 deletions web3.js/test/connection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,15 @@ describe('Connection', function () {
data: ['', 'base64'],
executable: false,
rentEpoch: 0,
space: 0,
},
{
owner: '11111111111111111111111111111111',
lamports: LAMPORTS_PER_SOL,
data: ['', 'base64'],
executable: false,
rentEpoch: 0,
space: 0,
},
];

Expand All @@ -262,13 +264,15 @@ describe('Connection', function () {
data: Buffer.from([]),
executable: false,
rentEpoch: 0,
space: 0,
},
{
owner: new PublicKey('11111111111111111111111111111111'),
lamports: LAMPORTS_PER_SOL,
data: Buffer.from([]),
executable: false,
rentEpoch: 0,
space: 0,
},
];

Expand Down Expand Up @@ -3935,6 +3939,7 @@ describe('Connection', function () {
lamports: LAMPORTS_PER_SOL - 5000,
owner: SystemProgram.programId.toBase58(),
rentEpoch: 0,
space: 0,
},
]);
});
Expand Down

0 comments on commit dcd9ae9

Please sign in to comment.