Skip to content

Commit b188fa7

Browse files
committed
Started typechecking for tests [skip ci]
1 parent 6484a9d commit b188fa7

17 files changed

Lines changed: 44 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- run: npx prisma migrate dev
2626
- run: npm test
2727
- run: npm run build
28+
- run: npm run check
2829

2930
# Bun
3031
- uses: oven-sh/setup-bun@v2

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
},
5757
"scripts": {
5858
"build": "tsc",
59+
"check": "tsc --project tsconfig.test.json",
5960
"test": "node --test"
6061
},
6162
"devDependencies": {

tests/drizzle-orm.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import { l2Distance, innerProduct, cosineDistance, l1Distance, hammingDistance, jaccardDistance } from 'drizzle-orm';

tests/knex.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import Knex from 'knex';

tests/kysely.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import pg from 'pg';

tests/mikro-orm.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import { MikroORM, EntitySchema } from '@mikro-orm/postgresql';

tests/objection.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import Knex from 'knex';

tests/pg-promise.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import pgpromise from 'pg-promise';

tests/pg.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import pg from 'pg';

tests/postgres.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
import assert from 'node:assert';
24
import test from 'node:test';
35
import postgres from 'postgres';

0 commit comments

Comments
 (0)