aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.ts
diff options
context:
space:
mode:
authorLucas Azevedo <lhs_azevedo@hotmail.com>2023-09-06 12:02:28 -0300
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-09-13 10:23:10 +0200
commit802d7e010d243209b6367c7341d3bf41dfe102fc (patch)
tree10ae7b489b5430afc3a32e3ebcee55bc9fca8360 /jest.config.ts
parent146e9eeb9f3c7d4462ea575788be9327a51413ea (diff)
downloadnextcloud-server-802d7e010d243209b6367c7341d3bf41dfe102fc.tar.gz
nextcloud-server-802d7e010d243209b6367c7341d3bf41dfe102fc.zip
Add tests
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
Diffstat (limited to 'jest.config.ts')
-rw-r--r--jest.config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.ts b/jest.config.ts
index 78b5912fee9..5bf104a4243 100644
--- a/jest.config.ts
+++ b/jest.config.ts
@@ -71,6 +71,7 @@ const config: Config = {
// Allow mocking svg files
moduleNameMapper: {
'^.+\\.svg(\\?raw)?$': '<rootDir>/__mocks__/svg.js',
+ '\\.s?css$': '<rootDir>/__mocks__/css.js',
},
modulePathIgnorePatterns: [
'<rootDir>/apps2/',