Skip to content

Commit 63af1a3

Browse files
committed
fix after rebase.
1 parent 77a49b0 commit 63af1a3

5 files changed

Lines changed: 31 additions & 8 deletions

File tree

pnpm-lock.yaml

Lines changed: 25 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/node/src/migration.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import fs from 'node:fs/promises'
2+
import { setTimeout } from 'node:timers/promises'
23
import { fileURLToPath } from 'node:url'
34
import { dirname, join } from 'pathe'
45
import { createSandbox, type SinonSpy } from 'sinon'
6+
import type { Kysely } from '../../../dist/cjs/index.js'
57
import {
68
FileMigrationProvider,
79
type Migration,
@@ -12,8 +14,7 @@ import {
1214
Migrator,
1315
NO_MIGRATIONS,
1416
type MigratorProps,
15-
type Kysely,
16-
} from '../../../dist/cjs/index.js'
17+
} from '../../../dist/cjs/migration/index.js'
1718
import {
1819
clearDatabase,
1920
destroyTest,

test/node/src/parse-json-results-plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ParseJSONResultsPlugin } from '../../../dist/cjs/index.js'
22
import { createQueryId } from '../../../dist/cjs/util/query-id.js'
3-
import { expect } from './test-setup'
3+
import { expect } from './test-setup.js'
44
import merge from 'prototype-pollution-vulnerable-lodash.merge-dont-upgrade'
55

66
describe('ParseJSONResultsPlugin', () => {

test/node/src/safe-null-comparison-plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SafeNullComparisonPlugin } from '../../..'
1+
import { SafeNullComparisonPlugin } from '../../../dist/cjs/index.js'
22

33
import {
44
clearDatabase,

tsconfig-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"rootDir": "./src",
88
"skipLibCheck": true,
99
"strict": true,
10-
"target": "es2022",
10+
"target": "es2023",
1111
"types": ["node"]
1212
}
1313
}

0 commit comments

Comments
 (0)