Skip to content

Commit 0068c2a

Browse files
disable-db
1 parent 78cecce commit 0068c2a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/@postgres-language-server/cli/test/bin.test.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ const binPath = join(__dirname, "../bin/postgres-language-server");
88
const testSqlPath = join(__dirname, "test.sql");
99

1010
describe("postgres-language-server bin", () => {
11-
1211
it("should check a SQL file successfully", async () => {
1312
const result = await new Promise((resolve) => {
14-
const proc = spawn("node", [binPath, "check", testSqlPath], {
15-
env: { ...process.env },
16-
});
13+
const proc = spawn(
14+
"node",
15+
[binPath, "check", "--disable-db", testSqlPath],
16+
{
17+
env: { ...process.env },
18+
}
19+
);
1720

1821
let stdout = "";
1922
let stderr = "";

0 commit comments

Comments
 (0)