@@ -42,6 +42,19 @@ describe('VP Calculation Integration Tests', () => {
4242 expect ( scores ) . toMatchSnapshot ( ) ;
4343 } , 20e3 ) ;
4444
45+ it ( 'should calculate VP for EVM address on mixed protocol with delegation enabled' , async ( ) => {
46+ const scores = await getVp (
47+ vpTestFixtures . evmWithMixedProtocols . address ,
48+ vpTestFixtures . evmWithMixedProtocols . network ,
49+ vpTestFixtures . evmWithMixedProtocols . strategies ,
50+ vpTestFixtures . evmWithMixedProtocols . snapshot ,
51+ vpTestFixtures . evmWithMixedProtocols . space ,
52+ true
53+ ) ;
54+
55+ expect ( scores ) . toMatchSnapshot ( ) ;
56+ } , 20e3 ) ;
57+
4558 it ( 'should calculate VP for Starknet address on mixed protocol' , async ( ) => {
4659 const scores = await getVp (
4760 vpTestFixtures . starknetWithMixedProtocols . address ,
@@ -55,6 +68,19 @@ describe('VP Calculation Integration Tests', () => {
5568 expect ( scores ) . toMatchSnapshot ( ) ;
5669 } , 20e3 ) ;
5770
71+ it ( 'should calculate VP for Starknet address on mixed protocol with delegation enabled' , async ( ) => {
72+ const scores = await getVp (
73+ vpTestFixtures . starknetWithMixedProtocols . address ,
74+ vpTestFixtures . starknetWithMixedProtocols . network ,
75+ vpTestFixtures . starknetWithMixedProtocols . strategies ,
76+ vpTestFixtures . starknetWithMixedProtocols . snapshot ,
77+ vpTestFixtures . starknetWithMixedProtocols . space ,
78+ true
79+ ) ;
80+
81+ expect ( scores ) . toMatchSnapshot ( ) ;
82+ } , 20e3 ) ;
83+
5884 it ( 'should calculate VP for Starknet address on evm protocol' , async ( ) => {
5985 const scores = await getVp (
6086 vpTestFixtures . starknetWithEvmProtocol . address ,
@@ -68,6 +94,19 @@ describe('VP Calculation Integration Tests', () => {
6894 expect ( scores ) . toMatchSnapshot ( ) ;
6995 } , 20e3 ) ;
7096
97+ it ( 'should calculate VP for Starknet address on evm protocol with delegation enabled' , async ( ) => {
98+ const scores = await getVp (
99+ vpTestFixtures . starknetWithEvmProtocol . address ,
100+ vpTestFixtures . starknetWithEvmProtocol . network ,
101+ vpTestFixtures . starknetWithEvmProtocol . strategies ,
102+ vpTestFixtures . starknetWithEvmProtocol . snapshot ,
103+ vpTestFixtures . starknetWithEvmProtocol . space ,
104+ true
105+ ) ;
106+
107+ expect ( scores ) . toMatchSnapshot ( ) ;
108+ } , 20e3 ) ;
109+
71110 it ( 'should throw an error with invalid address' , async ( ) => {
72111 await expect (
73112 getVp (
0 commit comments