File: no-prettier.patch

package info (click to toggle)
node-jest 29.6.2~ds1%2B~cs73.45.28-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,104 kB
  • sloc: javascript: 21,649; makefile: 47; sh: 21
file content (27 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: prettier isn't available
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2023-05-29

--- a/packages/jest-config/src/ValidConfig.ts
+++ b/packages/jest-config/src/ValidConfig.ts
@@ -119,7 +119,7 @@
   openHandlesTimeout: 1000,
   passWithNoTests: false,
   preset: 'react-native',
-  prettierPath: '<rootDir>/node_modules/prettier',
+  prettierPath: '',
   projects: ['project-a', 'project-b/'],
   randomize: false,
   reporters: [
--- a/packages/jest-config/src/index.ts
+++ b/packages/jest-config/src/index.ts
@@ -174,7 +174,7 @@
     modulePathIgnorePatterns: options.modulePathIgnorePatterns,
     modulePaths: options.modulePaths,
     openHandlesTimeout: options.openHandlesTimeout,
-    prettierPath: options.prettierPath,
+    prettierPath: '',
     resetMocks: options.resetMocks,
     resetModules: options.resetModules,
     resolver: options.resolver,