diff --git a/packages/runtime/test/client-api/delegate.test.ts b/packages/runtime/test/client-api/delegate.test.ts index 03b5b1e9..d9efff6f 100644 --- a/packages/runtime/test/client-api/delegate.test.ts +++ b/packages/runtime/test/client-api/delegate.test.ts @@ -302,7 +302,7 @@ describe('Delegate model tests ', () => { }); }); - describe('Delegate filter tests', async () => { + describe('Delegate filter tests', () => { beforeEach(async () => { const u = await client.user.create({ data: { @@ -546,7 +546,7 @@ describe('Delegate model tests ', () => { }); }); - describe('Delegate update tests', async () => { + describe('Delegate update tests', () => { beforeEach(async () => { const u = await client.user.create({ data: { diff --git a/packages/runtime/test/plugin/on-kysely-query.test.ts b/packages/runtime/test/plugin/on-kysely-query.test.ts index 1e97f818..4fe5855d 100644 --- a/packages/runtime/test/plugin/on-kysely-query.test.ts +++ b/packages/runtime/test/plugin/on-kysely-query.test.ts @@ -1,9 +1,8 @@ import { InsertQueryNode, Kysely, PrimitiveValueListNode, ValuesNode, type QueryResult } from 'kysely'; -import { beforeEach, describe, expect, it } from 'vitest'; +import { afterEach, beforeEach, describe, expect, it } from 'vitest'; import { type ClientContract } from '../../src/client'; import { schema } from '../schemas/basic'; import { createTestClient } from '../utils'; -import { afterEach } from 'node:test'; describe('On kysely query tests', () => { let _client: ClientContract;