fixes broken tests

This commit is contained in:
James
2020-10-10 18:37:31 -04:00
parent 38f08d54e3
commit 57ef9fe623
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
module.exports = {
verbose: true,
testTimeout: 15000,
testRegex: '(/src/client/.*\\.(test|spec))\\.[jt]sx?$',
testRegex: '(/src/admin/.*\\.(test|spec))\\.[jt]sx?$',
setupFilesAfterEnv: ['<rootDir>/tests/client/globalSetup.js'],
moduleNameMapper: {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/src/mocks/fileMock.js',