Skip to content

Commit

Permalink
chore: Fix issue with flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
robdmoore committed Mar 13, 2023
1 parent 2a0c2ad commit 7422013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deploy-app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,13 @@ describe('deploy-app', () => {
})

test('Do nothing if deploying app with no changes', async () => {
const { algod, indexer, testAccount } = localnet.context
const { algod, indexer, testAccount, waitForIndexer } = localnet.context
const deployment = await getBareCallContractDeployParams({
from: testAccount,
metadata: getMetadata(),
})
const initialDeployment = await deployApp(deployment, algod, indexer)
await waitForIndexer()
logging.testLogger.clear()

const result = await deployApp(deployment, algod, indexer)
Expand Down

0 comments on commit 7422013

Please sign in to comment.