Skip to content

Commit f1f8526

Browse files
Fix compilation issues
1 parent cfe4a1b commit f1f8526

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/modules/cockroachdb/src/cockroachdb-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ describe("CockroachDbContainer", { timeout: 180_000 }, () => {
9999
});
100100

101101
it("should allow custom healthcheck", async () => {
102-
await using container = new CockroachDbContainer(IMAGE).withHealthCheck({
102+
const container = new CockroachDbContainer(IMAGE).withHealthCheck({
103103
test: ["CMD-SHELL", "exit 1"],
104104
interval: 100,
105105
retries: 0,

packages/modules/mssqlserver/src/mssqlserver-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe("MSSqlServerContainer", { timeout: 180_000 }, () => {
6464

6565
// invalidPassword {
6666
it("should throw error with invalid password", async () => {
67-
await using container = new MSSQLServerContainer(IMAGE).acceptLicense().withPassword("password");
67+
const container = new MSSQLServerContainer(IMAGE).acceptLicense().withPassword("password");
6868
await expect(container.start()).rejects.toThrow(
6969
Error('Log stream ended and message "/.*Recovery is complete.*/" was not received')
7070
);

packages/modules/postgresql/src/postgresql-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe("PostgreSqlContainer", { timeout: 180_000 }, () => {
101101
});
102102

103103
it("should allow custom healthcheck", async () => {
104-
await using container = new PostgreSqlContainer(IMAGE).withHealthCheck({
104+
const container = new PostgreSqlContainer(IMAGE).withHealthCheck({
105105
test: ["CMD-SHELL", "exit 1"],
106106
interval: 100,
107107
retries: 0,

0 commit comments

Comments
 (0)