chore: update test name and add comment

This commit is contained in:
Madalina Raicu
2023-12-01 11:30:49 +00:00
parent aaad3cf402
commit 2bbd64b757
2 changed files with 2 additions and 1 deletions
@@ -31,7 +31,7 @@ jest.mock('@vegaprotocol/data-provider', () => ({
}));
describe('PositionsManager', () => {
it('should close position with max uint64', async () => {
it('should close position with half of max uint64', async () => {
render(<PositionsManager partyIds={['partyId']} isReadOnly={false} />, {
wrapper: MockedProvider,
});
+1
View File
@@ -1,2 +1,3 @@
export const MAXGOINT64 = '9223372036854775807';
// The fix for the close position functionality needs MaxInt64/2 for the size
export const HALFMAXGOINT64 = '4611686018427387903';