File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
packages/wrapped-keys/src/lib/api Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -87,19 +87,17 @@ describe('getPkpAccessControlCondition', () => {
8787 it ( 'should correctly create the ACC' , ( ) => {
8888 const pkpAddress = '0xd1Af1AAC50aC837C873200D17b78664aFCde597C' ;
8989 const acc = getPkpAccessControlCondition ( pkpAddress ) ;
90- expect ( acc ) . toEqual ( [
91- {
92- contractAddress : '' ,
93- standardContractType : '' ,
94- chain : CHAIN_ETHEREUM ,
95- method : '' ,
96- parameters : [ ':userAddress' ] ,
97- returnValueTest : {
98- comparator : '=' ,
99- value : pkpAddress ,
100- } ,
90+ expect ( acc ) . toEqual ( {
91+ contractAddress : '' ,
92+ standardContractType : '' ,
93+ chain : CHAIN_ETHEREUM ,
94+ method : '' ,
95+ parameters : [ ':userAddress' ] ,
96+ returnValueTest : {
97+ comparator : '=' ,
98+ value : pkpAddress ,
10199 } ,
102- ] ) ;
100+ } ) ;
103101 } ) ;
104102
105103 it ( 'should throw an error for non-Ethereum address' , ( ) => {
You can’t perform that action at this time.
0 commit comments