|
8 | 8 | // via the binary (prepared) and text (simple) protocols. |
9 | 9 |
|
10 | 10 | import { SQL, randomUUIDv7 } from "bun"; |
11 | | -import { afterAll, beforeAll, describe, expect, test } from "bun:test"; |
| 11 | +import { beforeAll, describe, expect, test } from "bun:test"; |
12 | 12 | import { describeWithContainer, isDockerEnabled } from "harness"; |
13 | 13 |
|
14 | 14 | const EXPECTED_ISO = "2024-01-15T05:30:45.678Z" as const; |
@@ -65,16 +65,12 @@ async function runRoundTrip(url: string) { |
65 | 65 |
|
66 | 66 | // ─── Docker path (used in CI) ─────────────────────────────────────────────── |
67 | 67 | if (isDockerEnabled()) { |
68 | | - describeWithContainer( |
69 | | - "issue #29208 (containerized MySQL)", |
70 | | - { image: "mysql_plain", concurrent: true }, |
71 | | - container => { |
72 | | - beforeAll(() => container.ready); |
73 | | - test("DATETIME/TIMESTAMP decode as UTC under non-UTC TZ", async () => { |
74 | | - await runRoundTrip(`mysql://root@${container.host}:${container.port}/bun_sql_test`); |
75 | | - }); |
76 | | - }, |
77 | | - ); |
| 68 | + describeWithContainer("issue #29208 (containerized MySQL)", { image: "mysql_plain", concurrent: true }, container => { |
| 69 | + beforeAll(() => container.ready); |
| 70 | + test("DATETIME/TIMESTAMP decode as UTC under non-UTC TZ", async () => { |
| 71 | + await runRoundTrip(`mysql://root@${container.host}:${container.port}/bun_sql_test`); |
| 72 | + }); |
| 73 | + }); |
78 | 74 | } |
79 | 75 |
|
80 | 76 | // ─── Local-server path (used in dev/reproduction shells without Docker) ──── |
|
0 commit comments