File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 99 generateFundedKeypair ,
1010 installContract ,
1111} from "./util" ;
12- import { contract } from "../../../lib" ;
12+ import { Address , contract } from "../../../lib" ;
1313
1414const CLI_PATH = path . resolve ( __dirname , "../../../bin/stellar-js" ) ;
1515
@@ -323,7 +323,11 @@ describe("Generated Bindings E2E Test", () => {
323323 const addresseResult = await client . addresse ( {
324324 addresse : keypair . publicKey ( ) ,
325325 } ) ;
326+ const addresseResultWithAddress = await client . addresse ( {
327+ addresse : Address . fromString ( keypair . publicKey ( ) ) ,
328+ } ) ;
326329 expect ( addresseResult . result ) . toBe ( keypair . publicKey ( ) ) ;
330+ expect ( addresseResultWithAddress . result ) . toBe ( keypair . publicKey ( ) ) ;
327331
328332 // Test bytes method
329333 const bytesInput = Buffer . from ( "hello" ) ;
You can’t perform that action at this time.
0 commit comments