Skip to content

Commit 65acd7f

Browse files
committed
Fixed CI
1 parent fdcd8d2 commit 65acd7f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/pg-native.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import pgvector from 'pgvector/pg';
44
import { SparseVector } from 'pgvector';
55

66
function isDeno() {
7-
// @ts-ignore
8-
return typeof Deno !== 'undefined';
7+
return 'Deno' in globalThis;
98
}
109

1110
test('pg-native example', {skip: isDeno()}, async () => {

0 commit comments

Comments
 (0)