Skip to content

Commit

Permalink
fix: wait for init
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Oct 11, 2024
1 parent 5e8b6c1 commit 03e106d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/tutorials/frontend-paymaster/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Enter the private key you will use for deployment when prompted.

Then, move into the contracts folder and compile the template contracts.

:test-action{actionId="wait-for-init"}
:test-action{actionId="env-pk"}
:test-action{actionId="compile-contracts"}

Expand Down
4 changes: 4 additions & 0 deletions tests/configs/frontend-paymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export const steps: IStepConfig = {
commandFolder: 'tests-output/frontend-paymaster',
prompts: 'Private key of the wallet: |❯ npm: ',
},
'wait-for-init': {
action: 'wait',
timeout: 15000,
},
'env-pk': {
action: 'modifyFile',
filepath: 'tests-output/frontend-paymaster/contracts/.env',
Expand Down

0 comments on commit 03e106d

Please sign in to comment.