Skip to content

Commit e699b3c

Browse files
committed
chore bump version
1 parent d3b4310 commit e699b3c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kysely-postgis",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "PostGis extension for Kysely",
55
"repository": "https://github.com/K4ST0R/kysely-postgis.git",
66
"main": "dist/index.js",

src/function.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,21 +1069,22 @@ describe('makePoint', () => {
10691069
expect(compiled.parameters).toStrictEqual([
10701070
-71.1043443253471, 42.3150676015829,
10711071
]);
1072+
});
10721073

1073-
test('Column argument with optional parameters', () => {
1074+
test('Column argument with optional parameters', () => {
10741075
const query = db
10751076
.selectFrom('test')
10761077
.select((eb) =>
1077-
stf(eb).makePoint(-71.1043443253471, 42.3150676015829, 1.42, 3,14).as('alias'),
1078+
stf(eb)
1079+
.makePoint(-71.1043443253471, 42.3150676015829, 1.42, 3.14)
1080+
.as('alias'),
10781081
);
10791082
const compiled = query.compile();
10801083
expect(compiled.sql).toBe(
10811084
'select ST_MakePoint($1, $2, $3, $4) as "alias" from "test"',
10821085
);
10831086
expect(compiled.parameters).toStrictEqual([
1084-
-71.1043443253471, 42.3150676015829, 1.42, 3,14
1087+
-71.1043443253471, 42.3150676015829, 1.42, 3.14,
10851088
]);
10861089
});
1087-
1088-
});
10891090
});

0 commit comments

Comments
 (0)