mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
fix(frontend): fix test configuration due to breaking change
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
b40c31168d
commit
804a36bdf3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const createJestConfig = nextJest({
|
||||||
|
|
||||||
// Add any custom config to be passed to Jest
|
// Add any custom config to be passed to Jest
|
||||||
const customJestConfig = {
|
const customJestConfig = {
|
||||||
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'],
|
setupFilesAfterEnv: ['@testing-library/jest-dom/jest-globals'],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
// Handle module aliases (this will be automatically configured for you soon)
|
// Handle module aliases (this will be automatically configured for you soon)
|
||||||
'^@/components/(.*)$': '<rootDir>/src/components/$1',
|
'^@/components/(.*)$': '<rootDir>/src/components/$1',
|
||||||
|
|
Loading…
Reference in a new issue