From f41f1c8f8e9fddc3eb43a889515bfc4024a89cef Mon Sep 17 00:00:00 2001 From: Adnan Rahic Date: Thu, 15 Feb 2024 15:53:21 +0100 Subject: [PATCH] examples(ts): add await --- examples/setup-of-tracetest-tests/delete_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/setup-of-tracetest-tests/delete_test.ts b/examples/setup-of-tracetest-tests/delete_test.ts index 943ca34327..8f9c80721d 100644 --- a/examples/setup-of-tracetest-tests/delete_test.ts +++ b/examples/setup-of-tracetest-tests/delete_test.ts @@ -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();