Extract validation to its own file

This commit is contained in:
Nora
2022-11-07 15:51:42 +01:00
parent daec8b691d
commit 4858be6ac8

View File

@@ -1,7 +1,7 @@
import { validateDbConfig } from '../../../src/databases/db-config-validation';
import { DbConfig } from '../../../src/databases/db-config';
describe.only('db config validation', async () => {
describe('db config validation', async () => {
it('should return error when file is not valid', async () => {
// We're intentionally bypassing the type check because we'd
// like to make sure validation errors are highlighted.