File: fix-jest-config.patch

package info (click to toggle)
node-css-select 5.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: makefile: 6; xml: 1
file content (16 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix jest configuration
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-06-25

--- a/package.json
+++ b/package.json
@@ -72,7 +72,7 @@
         "testEnvironment": "node",
         "coverageProvider": "v8",
         "moduleNameMapper": {
-            "^(.*)\\.js$": "$1"
+            "^(\\.?\\.\\/.*)\\.js$": "$1"
         },
         "testMatch": [
             "<rootDir>/test/*.ts"