Skip to content

Commit

Permalink
examples(ts): add await
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Feb 15, 2024
1 parent 07a2c28 commit f41f1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/setup-of-tracetest-tests/delete_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const main = async () => {
// run deletes pokemon test
console.log('Running the delete-pokemon test...');
const run = await tracetest.runTest(test, { variables: getVariables(String(pokemonId)) });
run.wait();
await run.wait();
};

await deletePokemon();
Expand Down

0 comments on commit f41f1c8

Please sign in to comment.