fix: correct jest roots and test import path
This commit is contained in:
parent
0cea450c0a
commit
25ec89c3b4
2 changed files with 2 additions and 2 deletions
|
|
@ -19,5 +19,5 @@ export default {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
roots: ['./tests']
|
roots: ['./tests/unit']
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import {expect, jest, test} from '@jest/globals';
|
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', () => {
|
describe('Logger', () => {
|
||||||
it('can be instantiated', () => {
|
it('can be instantiated', () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue