Skip to content

Commit 15b5d0a

Browse files
authored
chore(ci): fix node 24 test (#203)
1 parent a751a50 commit 15b5d0a

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"pg": ">=6.0.0"
8282
},
8383
"tsd": {
84-
"directory": "test/types"
84+
"directory": "test-types"
8585
},
8686
"publishConfig": {
8787
"access": "public"

test/types/imports.test-d.ts renamed to test-types/imports.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ import defaultPluginImport, {
33
fastifyPostgres as namedPluginImport,
44
PostgresDb,
55
PostgresPluginOptions
6-
} from '../../index'
6+
} from '../index'

test/types/initialization.test-d.ts renamed to test-types/initialization.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fastify from 'fastify'
22
import * as pg from 'pg'
33
import { expectAssignable, expectType } from 'tsd'
44

5-
import fastifyPostgres, { PostgresDb } from '../../index'
5+
import fastifyPostgres, { PostgresDb } from '../index'
66

77
const app = fastify()
88

test/types/query.test-d.ts renamed to test-types/query.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fastify from 'fastify'
22
import { Client, Pool, PoolClient, QueryResult } from 'pg'
33
import { expectAssignable, expectType } from 'tsd'
44

5-
import fastifyPostgres, { PostgresDb } from '../../index'
5+
import fastifyPostgres, { PostgresDb } from '../index'
66

77
const app = fastify()
88

test/types/transaction.test-d.ts renamed to test-types/transaction.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { PoolClient, QueryResult } from 'pg'
33
import { expectType } from 'tsd'
44

55
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6-
import fastifyPostgres, { PostgresDb } from '../../index'
6+
import fastifyPostgres, { PostgresDb } from '../index'
77

88
const app = fastify()
99

types/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)