Skip to content

Commit

Permalink
Added afterAll() to properly close databases after tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Smart <jlsmart@meta.com>
  • Loading branch information
anagrd-ai committed Dec 30, 2024
1 parent f67a3f2 commit 38733ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/src/databases/snowflake/snowflake.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ describe.each(runtimes.runtimeList)(
});
}
);

afterAll(async () => {
await runtimes.closeAll();
});

Check failure on line 41 in test/src/databases/snowflake/snowflake.spec.ts

View workflow job for this annotation

GitHub Actions / test-all (18.x)

Insert `⏎`

Check failure on line 41 in test/src/databases/snowflake/snowflake.spec.ts

View workflow job for this annotation

GitHub Actions / test-all (18.x)

Newline required at end of file but not found

0 comments on commit 38733ed

Please sign in to comment.