Skip to content

Commit

Permalink
Missed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Oct 3, 2024
1 parent 86749af commit a832030
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/api/tests/web5.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ describe('web5 api', () => {
// connect to the app, the options don't matter because we're stubbing the initClient method
const { web5, did, delegateDid } = await Web5.connect({
walletConnectOptions: {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down Expand Up @@ -675,6 +676,7 @@ describe('web5 api', () => {
// connect to the app, the options don't matter because we're stubbing the initClient method
await Web5.connect({
walletConnectOptions: {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down Expand Up @@ -735,6 +737,7 @@ describe('web5 api', () => {
await Web5.connect({
sync : 'off',
walletConnectOptions : {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down Expand Up @@ -779,6 +782,7 @@ describe('web5 api', () => {
await Web5.connect({
sync : '1m',
walletConnectOptions : {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down Expand Up @@ -822,6 +826,7 @@ describe('web5 api', () => {

await Web5.connect({
walletConnectOptions: {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down Expand Up @@ -893,6 +898,7 @@ describe('web5 api', () => {

await Web5.connect({
walletConnectOptions: {
displayName : 'Sample App',
connectServerUrl : 'https://connect.example.com',
walletUri : 'https://wallet.example.com',
validatePin : async () => { return '1234'; },
Expand Down

0 comments on commit a832030

Please sign in to comment.