From 25ec89c3b44ec93befeceb953b19e8bcbf0cbd22 Mon Sep 17 00:00:00 2001 From: Tiara Rodney Date: Fri, 13 Mar 2026 22:38:41 +0100 Subject: [PATCH] fix: correct jest roots and test import path --- jest.config.mjs | 2 +- tests/unit/log-level.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jest.config.mjs b/jest.config.mjs index 6590a36..b207977 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -19,5 +19,5 @@ export default { } ], ], - roots: ['./tests'] + roots: ['./tests/unit'] } diff --git a/tests/unit/log-level.test.ts b/tests/unit/log-level.test.ts index 2a7d386..6f1093f 100644 --- a/tests/unit/log-level.test.ts +++ b/tests/unit/log-level.test.ts @@ -1,5 +1,5 @@ import {expect, jest, test} from '@jest/globals'; -import * as log_level from '../src/log-level'; +import * as log_level from '../../src/log-level'; describe('Logger', () => { it('can be instantiated', () => {