feat: Introduce toRequireProperty custom assertion

This commit is contained in:
Faruk AYDIN
2024-09-23 16:16:13 +03:00
parent 09b2b7350c
commit cbfb5dd8a6
3 changed files with 40 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import { Model } from 'objection';
import { client as knex } from '../../src/config/database.js';
import logger from '../../src/helpers/logger.js';
import { vi } from 'vitest';
import './insert-assertions.js';
global.beforeAll(async () => {
global.knex = null;