Skip to content

Commit bb3019f

Browse files
committed
test: stabilize workspace test execution
1 parent f0d012e commit bb3019f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"format:check": "biome check .",
1515
"lint": "biome lint .",
1616
"typecheck": "bun run --filter '*' typecheck",
17-
"test": "bun run --filter '*' test",
18-
"test:coverage": "bun run --filter '*' test:coverage",
17+
"test": "bun run --sequential --filter '*' test",
18+
"test:coverage": "bun run --sequential --filter '*' test:coverage",
1919
"quality": "bun run format:check && bun run lint && bun run typecheck && bun run test && bun run build && bun run check:package",
2020
"version": "changeset version",
2121
"release": "changeset publish"

packages/query-formatter/src/__tests__/SqlFormatter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe("SqlFormatter", () => {
5555

5656
test("format long concat", () => {
5757
const parts: string[] = [];
58-
for (let i = 0; i < 20_000; i += 1) {
58+
for (let i = 0; i < 2_000; i += 1) {
5959
parts.push(`cast('foo${i}' as blob)`);
6060
}
6161

@@ -66,5 +66,5 @@ describe("SqlFormatter", () => {
6666
expect(formatter.format(`select iif(${inConcat} = ${inConcat}, 10, 20) x`)).toBe(
6767
`select\n iif(\n ${outConcat} = ${outConcat},\n 10,\n 20\n ) x`,
6868
);
69-
}, 180_000);
69+
});
7070
});

0 commit comments

Comments
 (0)