projen 0.101.0 → 0.101.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/.jsii +700 -111
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +6 -6
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +1 -1
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +3 -3
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +2 -2
  17. package/lib/build/build-workflow.js +1 -1
  18. package/lib/cdk/auto-discover-base.js +2 -2
  19. package/lib/cdk/construct-lib.js +1 -1
  20. package/lib/cdk/integration-test-base.js +1 -1
  21. package/lib/cdk/jsii-build.js +1 -1
  22. package/lib/cdk/jsii-docgen.js +1 -1
  23. package/lib/cdk/jsii-project.js +1 -1
  24. package/lib/cdk8s/auto-discover.js +2 -2
  25. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  26. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  27. package/lib/cdk8s/cdk8s-construct.js +1 -1
  28. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  29. package/lib/cdk8s/cdk8s-deps.js +1 -1
  30. package/lib/cdk8s/integration-test.js +1 -1
  31. package/lib/cdktf/cdktf-construct.js +1 -1
  32. package/lib/circleci/circleci.js +1 -1
  33. package/lib/component.js +1 -1
  34. package/lib/dependencies.js +1 -1
  35. package/lib/dev-env.js +1 -1
  36. package/lib/docker-compose/docker-compose-service.js +1 -1
  37. package/lib/docker-compose/docker-compose.js +1 -1
  38. package/lib/file.js +1 -1
  39. package/lib/gitattributes.js +1 -1
  40. package/lib/github/actions-provider.js +1 -1
  41. package/lib/github/auto-approve.js +1 -1
  42. package/lib/github/auto-merge.js +1 -1
  43. package/lib/github/auto-queue.js +1 -1
  44. package/lib/github/dependabot.js +1 -1
  45. package/lib/github/dependency-review.js +1 -1
  46. package/lib/github/github-credentials.js +1 -1
  47. package/lib/github/github-project.js +1 -1
  48. package/lib/github/github.js +1 -1
  49. package/lib/github/merge-queue.js +1 -1
  50. package/lib/github/mergify.js +1 -1
  51. package/lib/github/pr-template.js +1 -1
  52. package/lib/github/pull-request-backport.js +1 -1
  53. package/lib/github/pull-request-lint.js +1 -1
  54. package/lib/github/stale.js +1 -1
  55. package/lib/github/task-workflow-job.js +1 -1
  56. package/lib/github/task-workflow.js +1 -1
  57. package/lib/github/workflow-actions.js +1 -1
  58. package/lib/github/workflow-jobs.js +1 -1
  59. package/lib/github/workflow-steps.js +1 -1
  60. package/lib/github/workflows.js +1 -1
  61. package/lib/gitlab/configuration.js +1 -1
  62. package/lib/gitlab/gitlab-configuration.js +1 -1
  63. package/lib/gitlab/nested-configuration.js +1 -1
  64. package/lib/gitpod.js +1 -1
  65. package/lib/ignore-file.js +1 -1
  66. package/lib/ini.js +1 -1
  67. package/lib/java/java-project.js +1 -1
  68. package/lib/java/junit.js +1 -1
  69. package/lib/java/maven-compile.js +1 -1
  70. package/lib/java/maven-packaging.js +1 -1
  71. package/lib/java/maven-sample.js +1 -1
  72. package/lib/java/pom.js +2 -2
  73. package/lib/java/projenrc.js +1 -1
  74. package/lib/javascript/biome/biome.js +1 -1
  75. package/lib/javascript/bundler.js +1 -1
  76. package/lib/javascript/eslint.js +1 -1
  77. package/lib/javascript/jest.d.ts +179 -7
  78. package/lib/javascript/jest.js +5 -5
  79. package/lib/javascript/license-checker.js +1 -1
  80. package/lib/javascript/node-package.js +1 -1
  81. package/lib/javascript/node-project.js +1 -1
  82. package/lib/javascript/npm-config.js +1 -1
  83. package/lib/javascript/prettier.js +1 -1
  84. package/lib/javascript/projenrc.js +1 -1
  85. package/lib/javascript/typescript-config.js +2 -2
  86. package/lib/javascript/upgrade-dependencies.js +2 -2
  87. package/lib/javascript/yarnrc.js +1 -1
  88. package/lib/json-patch.js +1 -1
  89. package/lib/json.js +1 -1
  90. package/lib/license.js +1 -1
  91. package/lib/logger.js +1 -1
  92. package/lib/makefile.js +1 -1
  93. package/lib/object-file.js +1 -1
  94. package/lib/project-build.js +1 -1
  95. package/lib/project-tree.js +1 -1
  96. package/lib/project.js +1 -1
  97. package/lib/projects.js +1 -1
  98. package/lib/projenrc-json.js +1 -1
  99. package/lib/projenrc.js +1 -1
  100. package/lib/python/pip.js +1 -1
  101. package/lib/python/poetry.js +2 -2
  102. package/lib/python/projenrc.js +1 -1
  103. package/lib/python/pyproject-toml-file.js +1 -1
  104. package/lib/python/pytest-sample.js +1 -1
  105. package/lib/python/pytest.js +1 -1
  106. package/lib/python/python-project.js +1 -1
  107. package/lib/python/python-sample.js +1 -1
  108. package/lib/python/requirements-file.js +1 -1
  109. package/lib/python/setuppy.js +1 -1
  110. package/lib/python/setuptools.js +1 -1
  111. package/lib/python/uv.js +1 -1
  112. package/lib/python/venv.js +1 -1
  113. package/lib/readme.js +1 -1
  114. package/lib/release/publisher.js +1 -1
  115. package/lib/release/release-trigger.js +1 -1
  116. package/lib/release/release.js +1 -1
  117. package/lib/renovatebot.js +1 -1
  118. package/lib/run-task.cjs +1 -1
  119. package/lib/sample-file.js +2 -2
  120. package/lib/source-code.js +1 -1
  121. package/lib/task-shell.js +1 -1
  122. package/lib/task.js +1 -1
  123. package/lib/tasks.js +1 -1
  124. package/lib/testing.js +1 -1
  125. package/lib/textfile.js +1 -1
  126. package/lib/toml.js +1 -1
  127. package/lib/typescript/projenrc-ts.js +1 -1
  128. package/lib/typescript/projenrc.js +1 -1
  129. package/lib/typescript/typescript-typedoc.js +1 -1
  130. package/lib/typescript/typescript.js +5 -5
  131. package/lib/version.js +2 -2
  132. package/lib/vscode/devcontainer.js +1 -1
  133. package/lib/vscode/extensions.js +1 -1
  134. package/lib/vscode/launch-config.js +1 -1
  135. package/lib/vscode/settings.js +1 -1
  136. package/lib/vscode/vscode.js +1 -1
  137. package/lib/web/next.js +3 -3
  138. package/lib/web/postcss.js +1 -1
  139. package/lib/web/react.js +3 -3
  140. package/lib/web/tailwind.js +1 -1
  141. package/lib/xmlfile.js +1 -1
  142. package/lib/yaml.js +1 -1
  143. package/package.json +1 -1
package/.jsii CHANGED
@@ -45441,7 +45441,7 @@
45441
45441
  "kind": "interface",
45442
45442
  "locationInModule": {
45443
45443
  "filename": "src/javascript/jest.ts",
45444
- "line": 598
45444
+ "line": 686
45445
45445
  },
45446
45446
  "name": "CoverageThreshold",
45447
45447
  "namespace": "javascript",
@@ -45454,7 +45454,7 @@
45454
45454
  "immutable": true,
45455
45455
  "locationInModule": {
45456
45456
  "filename": "src/javascript/jest.ts",
45457
- "line": 599
45457
+ "line": 687
45458
45458
  },
45459
45459
  "name": "branches",
45460
45460
  "optional": true,
@@ -45470,7 +45470,7 @@
45470
45470
  "immutable": true,
45471
45471
  "locationInModule": {
45472
45472
  "filename": "src/javascript/jest.ts",
45473
- "line": 600
45473
+ "line": 688
45474
45474
  },
45475
45475
  "name": "functions",
45476
45476
  "optional": true,
@@ -45486,7 +45486,7 @@
45486
45486
  "immutable": true,
45487
45487
  "locationInModule": {
45488
45488
  "filename": "src/javascript/jest.ts",
45489
- "line": 601
45489
+ "line": 689
45490
45490
  },
45491
45491
  "name": "lines",
45492
45492
  "optional": true,
@@ -45502,7 +45502,7 @@
45502
45502
  "immutable": true,
45503
45503
  "locationInModule": {
45504
45504
  "filename": "src/javascript/jest.ts",
45505
- "line": 602
45505
+ "line": 690
45506
45506
  },
45507
45507
  "name": "statements",
45508
45508
  "optional": true,
@@ -46695,6 +46695,149 @@
46695
46695
  ],
46696
46696
  "symbolId": "src/javascript/eslint:EslintOverride"
46697
46697
  },
46698
+ "projen.javascript.FakeTimers": {
46699
+ "assembly": "projen",
46700
+ "datatype": true,
46701
+ "docs": {
46702
+ "see": "https://jestjs.io/docs/configuration#faketimers-object",
46703
+ "stability": "experimental",
46704
+ "summary": "The default configuration of fake timers for all tests."
46705
+ },
46706
+ "fqn": "projen.javascript.FakeTimers",
46707
+ "kind": "interface",
46708
+ "locationInModule": {
46709
+ "filename": "src/javascript/jest.ts",
46710
+ "line": 718
46711
+ },
46712
+ "name": "FakeTimers",
46713
+ "namespace": "javascript",
46714
+ "properties": [
46715
+ {
46716
+ "abstract": true,
46717
+ "docs": {
46718
+ "default": "- false",
46719
+ "remarks": "A custom time delta may be provided by passing a number.",
46720
+ "stability": "experimental",
46721
+ "summary": "If set to `true` all timers will be advanced automatically by 20 milliseconds every 20 milliseconds."
46722
+ },
46723
+ "immutable": true,
46724
+ "locationInModule": {
46725
+ "filename": "src/javascript/jest.ts",
46726
+ "line": 724
46727
+ },
46728
+ "name": "advanceTimers",
46729
+ "optional": true,
46730
+ "type": {
46731
+ "union": {
46732
+ "types": [
46733
+ {
46734
+ "primitive": "number"
46735
+ },
46736
+ {
46737
+ "primitive": "boolean"
46738
+ }
46739
+ ]
46740
+ }
46741
+ }
46742
+ },
46743
+ {
46744
+ "abstract": true,
46745
+ "docs": {
46746
+ "default": "- [] (all APIs are faked)",
46747
+ "stability": "experimental",
46748
+ "summary": "List of names of APIs (e.g. `Date`, `nextTick`, `setTimeout`) that should not be faked."
46749
+ },
46750
+ "immutable": true,
46751
+ "locationInModule": {
46752
+ "filename": "src/javascript/jest.ts",
46753
+ "line": 730
46754
+ },
46755
+ "name": "doNotFake",
46756
+ "optional": true,
46757
+ "type": {
46758
+ "collection": {
46759
+ "elementtype": {
46760
+ "primitive": "string"
46761
+ },
46762
+ "kind": "array"
46763
+ }
46764
+ }
46765
+ },
46766
+ {
46767
+ "abstract": true,
46768
+ "docs": {
46769
+ "default": "- false",
46770
+ "stability": "experimental",
46771
+ "summary": "Whether fake timers should be enabled for all test files."
46772
+ },
46773
+ "immutable": true,
46774
+ "locationInModule": {
46775
+ "filename": "src/javascript/jest.ts",
46776
+ "line": 736
46777
+ },
46778
+ "name": "enableGlobally",
46779
+ "optional": true,
46780
+ "type": {
46781
+ "primitive": "boolean"
46782
+ }
46783
+ },
46784
+ {
46785
+ "abstract": true,
46786
+ "docs": {
46787
+ "default": "- false",
46788
+ "stability": "experimental",
46789
+ "summary": "Use the old fake timers implementation instead of one backed by `@sinonjs/fake-timers`."
46790
+ },
46791
+ "immutable": true,
46792
+ "locationInModule": {
46793
+ "filename": "src/javascript/jest.ts",
46794
+ "line": 742
46795
+ },
46796
+ "name": "legacyFakeTimers",
46797
+ "optional": true,
46798
+ "type": {
46799
+ "primitive": "boolean"
46800
+ }
46801
+ },
46802
+ {
46803
+ "abstract": true,
46804
+ "docs": {
46805
+ "default": "- Date.now()",
46806
+ "stability": "experimental",
46807
+ "summary": "Sets current system time to be used by fake timers, in milliseconds."
46808
+ },
46809
+ "immutable": true,
46810
+ "locationInModule": {
46811
+ "filename": "src/javascript/jest.ts",
46812
+ "line": 748
46813
+ },
46814
+ "name": "now",
46815
+ "optional": true,
46816
+ "type": {
46817
+ "primitive": "number"
46818
+ }
46819
+ },
46820
+ {
46821
+ "abstract": true,
46822
+ "docs": {
46823
+ "default": "- 100000",
46824
+ "stability": "experimental",
46825
+ "summary": "Maximum number of recursive timers that will be run."
46826
+ },
46827
+ "immutable": true,
46828
+ "locationInModule": {
46829
+ "filename": "src/javascript/jest.ts",
46830
+ "line": 754
46831
+ },
46832
+ "name": "timerLimit",
46833
+ "optional": true,
46834
+ "type": {
46835
+ "primitive": "number"
46836
+ }
46837
+ }
46838
+ ],
46839
+ "symbolId": "src/javascript/jest:FakeTimers"
46840
+ },
46698
46841
  "projen.javascript.HTMLWhitespaceSensitivity": {
46699
46842
  "assembly": "projen",
46700
46843
  "docs": {
@@ -46743,7 +46886,7 @@
46743
46886
  "kind": "interface",
46744
46887
  "locationInModule": {
46745
46888
  "filename": "src/javascript/jest.ts",
46746
- "line": 617
46889
+ "line": 705
46747
46890
  },
46748
46891
  "name": "HasteConfig",
46749
46892
  "namespace": "javascript",
@@ -46756,7 +46899,7 @@
46756
46899
  "immutable": true,
46757
46900
  "locationInModule": {
46758
46901
  "filename": "src/javascript/jest.ts",
46759
- "line": 618
46902
+ "line": 706
46760
46903
  },
46761
46904
  "name": "computeSha1",
46762
46905
  "optional": true,
@@ -46772,7 +46915,7 @@
46772
46915
  "immutable": true,
46773
46916
  "locationInModule": {
46774
46917
  "filename": "src/javascript/jest.ts",
46775
- "line": 619
46918
+ "line": 707
46776
46919
  },
46777
46920
  "name": "defaultPlatform",
46778
46921
  "optional": true,
@@ -46788,7 +46931,7 @@
46788
46931
  "immutable": true,
46789
46932
  "locationInModule": {
46790
46933
  "filename": "src/javascript/jest.ts",
46791
- "line": 620
46934
+ "line": 708
46792
46935
  },
46793
46936
  "name": "hasteImplModulePath",
46794
46937
  "optional": true,
@@ -46804,7 +46947,7 @@
46804
46947
  "immutable": true,
46805
46948
  "locationInModule": {
46806
46949
  "filename": "src/javascript/jest.ts",
46807
- "line": 621
46950
+ "line": 709
46808
46951
  },
46809
46952
  "name": "platforms",
46810
46953
  "optional": true,
@@ -46825,7 +46968,7 @@
46825
46968
  "immutable": true,
46826
46969
  "locationInModule": {
46827
46970
  "filename": "src/javascript/jest.ts",
46828
- "line": 622
46971
+ "line": 710
46829
46972
  },
46830
46973
  "name": "throwOnModuleCollision",
46831
46974
  "optional": true,
@@ -46970,7 +47113,7 @@
46970
47113
  },
46971
47114
  "locationInModule": {
46972
47115
  "filename": "src/javascript/jest.ts",
46973
- "line": 690
47116
+ "line": 890
46974
47117
  },
46975
47118
  "parameters": [
46976
47119
  {
@@ -46991,7 +47134,7 @@
46991
47134
  "kind": "class",
46992
47135
  "locationInModule": {
46993
47136
  "filename": "src/javascript/jest.ts",
46994
- "line": 651
47137
+ "line": 851
46995
47138
  },
46996
47139
  "methods": [
46997
47140
  {
@@ -47001,7 +47144,7 @@
47001
47144
  },
47002
47145
  "locationInModule": {
47003
47146
  "filename": "src/javascript/jest.ts",
47004
- "line": 655
47147
+ "line": 855
47005
47148
  },
47006
47149
  "name": "of",
47007
47150
  "parameters": [
@@ -47026,7 +47169,7 @@
47026
47169
  },
47027
47170
  "locationInModule": {
47028
47171
  "filename": "src/javascript/jest.ts",
47029
- "line": 869
47172
+ "line": 1069
47030
47173
  },
47031
47174
  "name": "addIgnorePattern",
47032
47175
  "parameters": [
@@ -47046,7 +47189,7 @@
47046
47189
  },
47047
47190
  "locationInModule": {
47048
47191
  "filename": "src/javascript/jest.ts",
47049
- "line": 911
47192
+ "line": 1111
47050
47193
  },
47051
47194
  "name": "addModuleNameMappers",
47052
47195
  "parameters": [
@@ -47087,7 +47230,7 @@
47087
47230
  },
47088
47231
  "locationInModule": {
47089
47232
  "filename": "src/javascript/jest.ts",
47090
- "line": 926
47233
+ "line": 1126
47091
47234
  },
47092
47235
  "name": "addModulePaths",
47093
47236
  "parameters": [
@@ -47110,7 +47253,7 @@
47110
47253
  },
47111
47254
  "locationInModule": {
47112
47255
  "filename": "src/javascript/jest.ts",
47113
- "line": 873
47256
+ "line": 1073
47114
47257
  },
47115
47258
  "name": "addReporter",
47116
47259
  "parameters": [
@@ -47129,7 +47272,7 @@
47129
47272
  },
47130
47273
  "locationInModule": {
47131
47274
  "filename": "src/javascript/jest.ts",
47132
- "line": 938
47275
+ "line": 1138
47133
47276
  },
47134
47277
  "name": "addRoots",
47135
47278
  "parameters": [
@@ -47153,7 +47296,7 @@
47153
47296
  },
47154
47297
  "locationInModule": {
47155
47298
  "filename": "src/javascript/jest.ts",
47156
- "line": 881
47299
+ "line": 1081
47157
47300
  },
47158
47301
  "name": "addSetupFile",
47159
47302
  "parameters": [
@@ -47175,7 +47318,7 @@
47175
47318
  },
47176
47319
  "locationInModule": {
47177
47320
  "filename": "src/javascript/jest.ts",
47178
- "line": 892
47321
+ "line": 1092
47179
47322
  },
47180
47323
  "name": "addSetupFileAfterEnv",
47181
47324
  "parameters": [
@@ -47196,7 +47339,7 @@
47196
47339
  },
47197
47340
  "locationInModule": {
47198
47341
  "filename": "src/javascript/jest.ts",
47199
- "line": 899
47342
+ "line": 1099
47200
47343
  },
47201
47344
  "name": "addSnapshotResolver",
47202
47345
  "parameters": [
@@ -47215,7 +47358,7 @@
47215
47358
  },
47216
47359
  "locationInModule": {
47217
47360
  "filename": "src/javascript/jest.ts",
47218
- "line": 822
47361
+ "line": 1022
47219
47362
  },
47220
47363
  "name": "addTestMatch",
47221
47364
  "parameters": [
@@ -47237,7 +47380,7 @@
47237
47380
  },
47238
47381
  "locationInModule": {
47239
47382
  "filename": "src/javascript/jest.ts",
47240
- "line": 865
47383
+ "line": 1065
47241
47384
  },
47242
47385
  "name": "addWatchIgnorePattern",
47243
47386
  "parameters": [
@@ -47259,7 +47402,7 @@
47259
47402
  },
47260
47403
  "locationInModule": {
47261
47404
  "filename": "src/javascript/jest.ts",
47262
- "line": 831
47405
+ "line": 1031
47263
47406
  },
47264
47407
  "name": "discoverTestMatchPatternsForDirs",
47265
47408
  "parameters": [
@@ -47302,7 +47445,7 @@
47302
47445
  "immutable": true,
47303
47446
  "locationInModule": {
47304
47447
  "filename": "src/javascript/jest.ts",
47305
- "line": 665
47448
+ "line": 865
47306
47449
  },
47307
47450
  "name": "config",
47308
47451
  "type": {
@@ -47317,7 +47460,7 @@
47317
47460
  "immutable": true,
47318
47461
  "locationInModule": {
47319
47462
  "filename": "src/javascript/jest.ts",
47320
- "line": 670
47463
+ "line": 870
47321
47464
  },
47322
47465
  "name": "jestVersion",
47323
47466
  "type": {
@@ -47331,7 +47474,7 @@
47331
47474
  "immutable": true,
47332
47475
  "locationInModule": {
47333
47476
  "filename": "src/javascript/jest.ts",
47334
- "line": 660
47477
+ "line": 860
47335
47478
  },
47336
47479
  "name": "project",
47337
47480
  "overrides": "projen.Component",
@@ -47348,7 +47491,7 @@
47348
47491
  "immutable": true,
47349
47492
  "locationInModule": {
47350
47493
  "filename": "src/javascript/jest.ts",
47351
- "line": 675
47494
+ "line": 875
47352
47495
  },
47353
47496
  "name": "file",
47354
47497
  "optional": true,
@@ -47383,7 +47526,7 @@
47383
47526
  "immutable": true,
47384
47527
  "locationInModule": {
47385
47528
  "filename": "src/javascript/jest.ts",
47386
- "line": 481
47529
+ "line": 569
47387
47530
  },
47388
47531
  "name": "additionalOptions",
47389
47532
  "optional": true,
@@ -47586,7 +47729,7 @@
47586
47729
  {
47587
47730
  "abstract": true,
47588
47731
  "docs": {
47589
- "default": "- [\"json\", \"lcov\", \"text\", \"clover\", \"cobertura\"]",
47732
+ "default": "- [\"json\", \"lcov\", \"clover\", \"cobertura\", \"text\"]",
47590
47733
  "remarks": "Any istanbul reporter can be used",
47591
47734
  "stability": "experimental",
47592
47735
  "summary": "A list of reporter names that Jest uses when writing coverage reports."
@@ -47685,14 +47828,38 @@
47685
47828
  {
47686
47829
  "abstract": true,
47687
47830
  "docs": {
47688
- "default": "- undefined",
47831
+ "default": "- []",
47689
47832
  "stability": "experimental",
47833
+ "summary": "Jest will run `.mjs` and `.js` files with nearest package.json's `type` field set to `module` as ECMAScript Modules. If you have any other files that should run with native ESM, you need to specify their file extension here."
47834
+ },
47835
+ "immutable": true,
47836
+ "locationInModule": {
47837
+ "filename": "src/javascript/jest.ts",
47838
+ "line": 116
47839
+ },
47840
+ "name": "extensionsToTreatAsEsm",
47841
+ "optional": true,
47842
+ "type": {
47843
+ "collection": {
47844
+ "elementtype": {
47845
+ "primitive": "string"
47846
+ },
47847
+ "kind": "array"
47848
+ }
47849
+ }
47850
+ },
47851
+ {
47852
+ "abstract": true,
47853
+ "docs": {
47854
+ "default": "- undefined",
47855
+ "deprecated": "Renamed to `sandboxInjectedGlobals` in Jest 28. Use `sandboxInjectedGlobals` instead.",
47856
+ "stability": "deprecated",
47690
47857
  "summary": "Test files run inside a vm, which slows calls to global context properties (e.g. Math). With this option you can specify extra properties to be defined inside the vm for faster lookups."
47691
47858
  },
47692
47859
  "immutable": true,
47693
47860
  "locationInModule": {
47694
47861
  "filename": "src/javascript/jest.ts",
47695
- "line": 115
47862
+ "line": 124
47696
47863
  },
47697
47864
  "name": "extraGlobals",
47698
47865
  "optional": true,
@@ -47705,6 +47872,25 @@
47705
47872
  }
47706
47873
  }
47707
47874
  },
47875
+ {
47876
+ "abstract": true,
47877
+ "docs": {
47878
+ "default": "- {}",
47879
+ "remarks": "This option provides the default configuration of fake timers for all tests.",
47880
+ "stability": "experimental",
47881
+ "summary": "The fake timers may be useful when a piece of code sets a long timeout that we don't want to wait for in a test."
47882
+ },
47883
+ "immutable": true,
47884
+ "locationInModule": {
47885
+ "filename": "src/javascript/jest.ts",
47886
+ "line": 131
47887
+ },
47888
+ "name": "fakeTimers",
47889
+ "optional": true,
47890
+ "type": {
47891
+ "fqn": "projen.javascript.FakeTimers"
47892
+ }
47893
+ },
47708
47894
  {
47709
47895
  "abstract": true,
47710
47896
  "docs": {
@@ -47716,7 +47902,7 @@
47716
47902
  "immutable": true,
47717
47903
  "locationInModule": {
47718
47904
  "filename": "src/javascript/jest.ts",
47719
- "line": 122
47905
+ "line": 138
47720
47906
  },
47721
47907
  "name": "forceCoverageMatch",
47722
47908
  "optional": true,
@@ -47739,7 +47925,7 @@
47739
47925
  "immutable": true,
47740
47926
  "locationInModule": {
47741
47927
  "filename": "src/javascript/jest.ts",
47742
- "line": 128
47928
+ "line": 144
47743
47929
  },
47744
47930
  "name": "globals",
47745
47931
  "optional": true,
@@ -47758,7 +47944,7 @@
47758
47944
  "immutable": true,
47759
47945
  "locationInModule": {
47760
47946
  "filename": "src/javascript/jest.ts",
47761
- "line": 135
47947
+ "line": 151
47762
47948
  },
47763
47949
  "name": "globalSetup",
47764
47950
  "optional": true,
@@ -47777,7 +47963,7 @@
47777
47963
  "immutable": true,
47778
47964
  "locationInModule": {
47779
47965
  "filename": "src/javascript/jest.ts",
47780
- "line": 142
47966
+ "line": 158
47781
47967
  },
47782
47968
  "name": "globalTeardown",
47783
47969
  "optional": true,
@@ -47795,7 +47981,7 @@
47795
47981
  "immutable": true,
47796
47982
  "locationInModule": {
47797
47983
  "filename": "src/javascript/jest.ts",
47798
- "line": 148
47984
+ "line": 164
47799
47985
  },
47800
47986
  "name": "haste",
47801
47987
  "optional": true,
@@ -47816,7 +48002,7 @@
47816
48002
  "immutable": true,
47817
48003
  "locationInModule": {
47818
48004
  "filename": "src/javascript/jest.ts",
47819
- "line": 155
48005
+ "line": 171
47820
48006
  },
47821
48007
  "name": "injectGlobals",
47822
48008
  "optional": true,
@@ -47834,7 +48020,7 @@
47834
48020
  "immutable": true,
47835
48021
  "locationInModule": {
47836
48022
  "filename": "src/javascript/jest.ts",
47837
- "line": 162
48023
+ "line": 178
47838
48024
  },
47839
48025
  "name": "maxConcurrency",
47840
48026
  "optional": true,
@@ -47853,7 +48039,7 @@
47853
48039
  "immutable": true,
47854
48040
  "locationInModule": {
47855
48041
  "filename": "src/javascript/jest.ts",
47856
- "line": 171
48042
+ "line": 187
47857
48043
  },
47858
48044
  "name": "maxWorkers",
47859
48045
  "optional": true,
@@ -47881,7 +48067,7 @@
47881
48067
  "immutable": true,
47882
48068
  "locationInModule": {
47883
48069
  "filename": "src/javascript/jest.ts",
47884
- "line": 179
48070
+ "line": 195
47885
48071
  },
47886
48072
  "name": "moduleDirectories",
47887
48073
  "optional": true,
@@ -47905,7 +48091,7 @@
47905
48091
  "immutable": true,
47906
48092
  "locationInModule": {
47907
48093
  "filename": "src/javascript/jest.ts",
47908
- "line": 186
48094
+ "line": 202
47909
48095
  },
47910
48096
  "name": "moduleFileExtensions",
47911
48097
  "optional": true,
@@ -47928,7 +48114,7 @@
47928
48114
  "immutable": true,
47929
48115
  "locationInModule": {
47930
48116
  "filename": "src/javascript/jest.ts",
47931
- "line": 193
48117
+ "line": 209
47932
48118
  },
47933
48119
  "name": "moduleNameMapper",
47934
48120
  "optional": true,
@@ -47966,7 +48152,7 @@
47966
48152
  "immutable": true,
47967
48153
  "locationInModule": {
47968
48154
  "filename": "src/javascript/jest.ts",
47969
- "line": 201
48155
+ "line": 217
47970
48156
  },
47971
48157
  "name": "modulePathIgnorePatterns",
47972
48158
  "optional": true,
@@ -47990,7 +48176,7 @@
47990
48176
  "immutable": true,
47991
48177
  "locationInModule": {
47992
48178
  "filename": "src/javascript/jest.ts",
47993
- "line": 209
48179
+ "line": 225
47994
48180
  },
47995
48181
  "name": "modulePaths",
47996
48182
  "optional": true,
@@ -48013,7 +48199,7 @@
48013
48199
  "immutable": true,
48014
48200
  "locationInModule": {
48015
48201
  "filename": "src/javascript/jest.ts",
48016
- "line": 215
48202
+ "line": 231
48017
48203
  },
48018
48204
  "name": "notify",
48019
48205
  "optional": true,
@@ -48032,7 +48218,7 @@
48032
48218
  "immutable": true,
48033
48219
  "locationInModule": {
48034
48220
  "filename": "src/javascript/jest.ts",
48035
- "line": 221
48221
+ "line": 237
48036
48222
  },
48037
48223
  "name": "notifyMode",
48038
48224
  "optional": true,
@@ -48040,6 +48226,25 @@
48040
48226
  "primitive": "string"
48041
48227
  }
48042
48228
  },
48229
+ {
48230
+ "abstract": true,
48231
+ "docs": {
48232
+ "default": "- 1000",
48233
+ "remarks": "Use `0` to disable the warning.",
48234
+ "stability": "experimental",
48235
+ "summary": "Print a warning indicating that there are probable open handles if Jest does not exit cleanly this number of milliseconds after it completes."
48236
+ },
48237
+ "immutable": true,
48238
+ "locationInModule": {
48239
+ "filename": "src/javascript/jest.ts",
48240
+ "line": 250
48241
+ },
48242
+ "name": "openHandlesTimeout",
48243
+ "optional": true,
48244
+ "type": {
48245
+ "primitive": "number"
48246
+ }
48247
+ },
48043
48248
  {
48044
48249
  "abstract": true,
48045
48250
  "docs": {
@@ -48051,7 +48256,7 @@
48051
48256
  "immutable": true,
48052
48257
  "locationInModule": {
48053
48258
  "filename": "src/javascript/jest.ts",
48054
- "line": 234
48259
+ "line": 257
48055
48260
  },
48056
48261
  "name": "preset",
48057
48262
  "optional": true,
@@ -48069,7 +48274,7 @@
48069
48274
  "immutable": true,
48070
48275
  "locationInModule": {
48071
48276
  "filename": "src/javascript/jest.ts",
48072
- "line": 240
48277
+ "line": 263
48073
48278
  },
48074
48279
  "name": "prettierPath",
48075
48280
  "optional": true,
@@ -48088,7 +48293,7 @@
48088
48293
  "immutable": true,
48089
48294
  "locationInModule": {
48090
48295
  "filename": "src/javascript/jest.ts",
48091
- "line": 248
48296
+ "line": 271
48092
48297
  },
48093
48298
  "name": "projects",
48094
48299
  "optional": true,
@@ -48115,6 +48320,24 @@
48115
48320
  }
48116
48321
  }
48117
48322
  },
48323
+ {
48324
+ "abstract": true,
48325
+ "docs": {
48326
+ "default": "- false",
48327
+ "stability": "experimental",
48328
+ "summary": "The equivalent of the `--randomize` flag to randomize the order of the tests in a file."
48329
+ },
48330
+ "immutable": true,
48331
+ "locationInModule": {
48332
+ "filename": "src/javascript/jest.ts",
48333
+ "line": 277
48334
+ },
48335
+ "name": "randomize",
48336
+ "optional": true,
48337
+ "type": {
48338
+ "primitive": "boolean"
48339
+ }
48340
+ },
48118
48341
  {
48119
48342
  "abstract": true,
48120
48343
  "docs": {
@@ -48126,7 +48349,7 @@
48126
48349
  "immutable": true,
48127
48350
  "locationInModule": {
48128
48351
  "filename": "src/javascript/jest.ts",
48129
- "line": 256
48352
+ "line": 285
48130
48353
  },
48131
48354
  "name": "reporters",
48132
48355
  "optional": true,
@@ -48150,7 +48373,7 @@
48150
48373
  "immutable": true,
48151
48374
  "locationInModule": {
48152
48375
  "filename": "src/javascript/jest.ts",
48153
- "line": 264
48376
+ "line": 293
48154
48377
  },
48155
48378
  "name": "resetMocks",
48156
48379
  "optional": true,
@@ -48169,7 +48392,7 @@
48169
48392
  "immutable": true,
48170
48393
  "locationInModule": {
48171
48394
  "filename": "src/javascript/jest.ts",
48172
- "line": 271
48395
+ "line": 300
48173
48396
  },
48174
48397
  "name": "resetModules",
48175
48398
  "optional": true,
@@ -48188,7 +48411,7 @@
48188
48411
  "immutable": true,
48189
48412
  "locationInModule": {
48190
48413
  "filename": "src/javascript/jest.ts",
48191
- "line": 278
48414
+ "line": 307
48192
48415
  },
48193
48416
  "name": "resolver",
48194
48417
  "optional": true,
@@ -48207,7 +48430,7 @@
48207
48430
  "immutable": true,
48208
48431
  "locationInModule": {
48209
48432
  "filename": "src/javascript/jest.ts",
48210
- "line": 286
48433
+ "line": 315
48211
48434
  },
48212
48435
  "name": "restoreMocks",
48213
48436
  "optional": true,
@@ -48226,7 +48449,7 @@
48226
48449
  "immutable": true,
48227
48450
  "locationInModule": {
48228
48451
  "filename": "src/javascript/jest.ts",
48229
- "line": 294
48452
+ "line": 323
48230
48453
  },
48231
48454
  "name": "rootDir",
48232
48455
  "optional": true,
@@ -48244,7 +48467,7 @@
48244
48467
  "immutable": true,
48245
48468
  "locationInModule": {
48246
48469
  "filename": "src/javascript/jest.ts",
48247
- "line": 300
48470
+ "line": 329
48248
48471
  },
48249
48472
  "name": "roots",
48250
48473
  "optional": true,
@@ -48267,7 +48490,7 @@
48267
48490
  "immutable": true,
48268
48491
  "locationInModule": {
48269
48492
  "filename": "src/javascript/jest.ts",
48270
- "line": 306
48493
+ "line": 342
48271
48494
  },
48272
48495
  "name": "runner",
48273
48496
  "optional": true,
@@ -48275,6 +48498,48 @@
48275
48498
  "primitive": "string"
48276
48499
  }
48277
48500
  },
48501
+ {
48502
+ "abstract": true,
48503
+ "docs": {
48504
+ "default": "- \"jest-runtime\"",
48505
+ "remarks": "A custom runtime can be\nprovided by specifying a path to a runtime implementation.",
48506
+ "stability": "experimental",
48507
+ "summary": "This option allows the use of a custom runtime to execute test files."
48508
+ },
48509
+ "immutable": true,
48510
+ "locationInModule": {
48511
+ "filename": "src/javascript/jest.ts",
48512
+ "line": 336
48513
+ },
48514
+ "name": "runtime",
48515
+ "optional": true,
48516
+ "type": {
48517
+ "primitive": "string"
48518
+ }
48519
+ },
48520
+ {
48521
+ "abstract": true,
48522
+ "docs": {
48523
+ "default": "- undefined",
48524
+ "stability": "experimental",
48525
+ "summary": "Test files run inside a vm, which slows calls to global context properties (e.g. Math). With this option you can specify extra properties to be defined inside the vm for faster lookups."
48526
+ },
48527
+ "immutable": true,
48528
+ "locationInModule": {
48529
+ "filename": "src/javascript/jest.ts",
48530
+ "line": 349
48531
+ },
48532
+ "name": "sandboxInjectedGlobals",
48533
+ "optional": true,
48534
+ "type": {
48535
+ "collection": {
48536
+ "elementtype": {
48537
+ "primitive": "string"
48538
+ },
48539
+ "kind": "array"
48540
+ }
48541
+ }
48542
+ },
48278
48543
  {
48279
48544
  "abstract": true,
48280
48545
  "docs": {
@@ -48286,7 +48551,7 @@
48286
48551
  "immutable": true,
48287
48552
  "locationInModule": {
48288
48553
  "filename": "src/javascript/jest.ts",
48289
- "line": 315
48554
+ "line": 358
48290
48555
  },
48291
48556
  "name": "setupFiles",
48292
48557
  "optional": true,
@@ -48310,7 +48575,7 @@
48310
48575
  "immutable": true,
48311
48576
  "locationInModule": {
48312
48577
  "filename": "src/javascript/jest.ts",
48313
- "line": 324
48578
+ "line": 367
48314
48579
  },
48315
48580
  "name": "setupFilesAfterEnv",
48316
48581
  "optional": true,
@@ -48323,6 +48588,24 @@
48323
48588
  }
48324
48589
  }
48325
48590
  },
48591
+ {
48592
+ "abstract": true,
48593
+ "docs": {
48594
+ "default": "- false",
48595
+ "stability": "experimental",
48596
+ "summary": "The equivalent of the `--showSeed` flag to print the seed in the test report summary."
48597
+ },
48598
+ "immutable": true,
48599
+ "locationInModule": {
48600
+ "filename": "src/javascript/jest.ts",
48601
+ "line": 373
48602
+ },
48603
+ "name": "showSeed",
48604
+ "optional": true,
48605
+ "type": {
48606
+ "primitive": "boolean"
48607
+ }
48608
+ },
48326
48609
  {
48327
48610
  "abstract": true,
48328
48611
  "docs": {
@@ -48333,7 +48616,7 @@
48333
48616
  "immutable": true,
48334
48617
  "locationInModule": {
48335
48618
  "filename": "src/javascript/jest.ts",
48336
- "line": 330
48619
+ "line": 379
48337
48620
  },
48338
48621
  "name": "slowTestThreshold",
48339
48622
  "optional": true,
@@ -48341,6 +48624,24 @@
48341
48624
  "primitive": "number"
48342
48625
  }
48343
48626
  },
48627
+ {
48628
+ "abstract": true,
48629
+ "docs": {
48630
+ "default": "- {escapeString: false, printBasicPrototype: false}",
48631
+ "stability": "experimental",
48632
+ "summary": "Allows overriding specific snapshot formatting options documented in the pretty-format readme, with the exceptions of `compareKeys` and `plugins`."
48633
+ },
48634
+ "immutable": true,
48635
+ "locationInModule": {
48636
+ "filename": "src/javascript/jest.ts",
48637
+ "line": 386
48638
+ },
48639
+ "name": "snapshotFormat",
48640
+ "optional": true,
48641
+ "type": {
48642
+ "fqn": "projen.javascript.SnapshotFormatOptions"
48643
+ }
48644
+ },
48344
48645
  {
48345
48646
  "abstract": true,
48346
48647
  "docs": {
@@ -48352,7 +48653,7 @@
48352
48653
  "immutable": true,
48353
48654
  "locationInModule": {
48354
48655
  "filename": "src/javascript/jest.ts",
48355
- "line": 337
48656
+ "line": 393
48356
48657
  },
48357
48658
  "name": "snapshotResolver",
48358
48659
  "optional": true,
@@ -48370,7 +48671,7 @@
48370
48671
  "immutable": true,
48371
48672
  "locationInModule": {
48372
48673
  "filename": "src/javascript/jest.ts",
48373
- "line": 343
48674
+ "line": 399
48374
48675
  },
48375
48676
  "name": "snapshotSerializers",
48376
48677
  "optional": true,
@@ -48386,15 +48687,15 @@
48386
48687
  {
48387
48688
  "abstract": true,
48388
48689
  "docs": {
48389
- "default": "- \"jsdom\"",
48390
- "remarks": "The default environment in Jest is a\nbrowser-like environment through jsdom. If you are building a node service, you can use the node\noption to use a node-like environment instead.",
48690
+ "default": "- \"node\"",
48691
+ "remarks": "The default environment in Jest is a\nNode.js environment. If you are building a web app, you can use a browser-like environment\nthrough jsdom instead.",
48391
48692
  "stability": "experimental",
48392
48693
  "summary": "The test environment that will be used for testing."
48393
48694
  },
48394
48695
  "immutable": true,
48395
48696
  "locationInModule": {
48396
48697
  "filename": "src/javascript/jest.ts",
48397
- "line": 351
48698
+ "line": 407
48398
48699
  },
48399
48700
  "name": "testEnvironment",
48400
48701
  "optional": true,
@@ -48413,7 +48714,7 @@
48413
48714
  "immutable": true,
48414
48715
  "locationInModule": {
48415
48716
  "filename": "src/javascript/jest.ts",
48416
- "line": 358
48717
+ "line": 414
48417
48718
  },
48418
48719
  "name": "testEnvironmentOptions",
48419
48720
  "optional": true,
@@ -48431,7 +48732,7 @@
48431
48732
  "immutable": true,
48432
48733
  "locationInModule": {
48433
48734
  "filename": "src/javascript/jest.ts",
48434
- "line": 364
48735
+ "line": 420
48435
48736
  },
48436
48737
  "name": "testFailureExitCode",
48437
48738
  "optional": true,
@@ -48450,7 +48751,7 @@
48450
48751
  "immutable": true,
48451
48752
  "locationInModule": {
48452
48753
  "filename": "src/javascript/jest.ts",
48453
- "line": 372
48754
+ "line": 428
48454
48755
  },
48455
48756
  "name": "testMatch",
48456
48757
  "optional": true,
@@ -48474,7 +48775,7 @@
48474
48775
  "immutable": true,
48475
48776
  "locationInModule": {
48476
48777
  "filename": "src/javascript/jest.ts",
48477
- "line": 379
48778
+ "line": 435
48478
48779
  },
48479
48780
  "name": "testPathIgnorePatterns",
48480
48781
  "optional": true,
@@ -48498,7 +48799,7 @@
48498
48799
  "immutable": true,
48499
48800
  "locationInModule": {
48500
48801
  "filename": "src/javascript/jest.ts",
48501
- "line": 387
48802
+ "line": 443
48502
48803
  },
48503
48804
  "name": "testRegex",
48504
48805
  "optional": true,
@@ -48530,7 +48831,7 @@
48530
48831
  "immutable": true,
48531
48832
  "locationInModule": {
48532
48833
  "filename": "src/javascript/jest.ts",
48533
- "line": 393
48834
+ "line": 449
48534
48835
  },
48535
48836
  "name": "testResultsProcessor",
48536
48837
  "optional": true,
@@ -48541,15 +48842,15 @@
48541
48842
  {
48542
48843
  "abstract": true,
48543
48844
  "docs": {
48544
- "default": "- \"jasmine2\"",
48545
- "remarks": "The default is jasmine2. A custom test runner\ncan be provided by specifying a path to a test runner implementation.",
48845
+ "default": "- \"jest-circus/runner\"",
48846
+ "remarks": "The default is jest-circus. A custom test runner\ncan be provided by specifying a path to a test runner implementation.",
48546
48847
  "stability": "experimental",
48547
48848
  "summary": "This option allows the use of a custom test runner."
48548
48849
  },
48549
48850
  "immutable": true,
48550
48851
  "locationInModule": {
48551
48852
  "filename": "src/javascript/jest.ts",
48552
- "line": 400
48853
+ "line": 456
48553
48854
  },
48554
48855
  "name": "testRunner",
48555
48856
  "optional": true,
@@ -48568,7 +48869,7 @@
48568
48869
  "immutable": true,
48569
48870
  "locationInModule": {
48570
48871
  "filename": "src/javascript/jest.ts",
48571
- "line": 407
48872
+ "line": 463
48572
48873
  },
48573
48874
  "name": "testSequencer",
48574
48875
  "optional": true,
@@ -48586,7 +48887,7 @@
48586
48887
  "immutable": true,
48587
48888
  "locationInModule": {
48588
48889
  "filename": "src/javascript/jest.ts",
48589
- "line": 413
48890
+ "line": 469
48590
48891
  },
48591
48892
  "name": "testTimeout",
48592
48893
  "optional": true,
@@ -48598,14 +48899,15 @@
48598
48899
  "abstract": true,
48599
48900
  "docs": {
48600
48901
  "default": "- \"http://localhost\"",
48902
+ "deprecated": "Removed in Jest 28. Use `testEnvironmentOptions.url` instead.",
48601
48903
  "remarks": "It is reflected in properties such as location.href.",
48602
- "stability": "experimental",
48904
+ "stability": "deprecated",
48603
48905
  "summary": "This option sets the URL for the jsdom environment."
48604
48906
  },
48605
48907
  "immutable": true,
48606
48908
  "locationInModule": {
48607
48909
  "filename": "src/javascript/jest.ts",
48608
- "line": 419
48910
+ "line": 476
48609
48911
  },
48610
48912
  "name": "testURL",
48611
48913
  "optional": true,
@@ -48617,14 +48919,15 @@
48617
48919
  "abstract": true,
48618
48920
  "docs": {
48619
48921
  "default": "- \"real\"",
48922
+ "deprecated": "Renamed to `fakeTimers` in Jest 27. Use `fakeTimers` instead.",
48620
48923
  "remarks": "Fake timers are useful when a piece of code sets a long timeout that we don't want to wait for in a test.",
48621
- "stability": "experimental",
48924
+ "stability": "deprecated",
48622
48925
  "summary": "Setting this value to legacy or fake allows the use of fake timers for functions such as setTimeout."
48623
48926
  },
48624
48927
  "immutable": true,
48625
48928
  "locationInModule": {
48626
48929
  "filename": "src/javascript/jest.ts",
48627
- "line": 426
48930
+ "line": 484
48628
48931
  },
48629
48932
  "name": "timers",
48630
48933
  "optional": true,
@@ -48643,7 +48946,7 @@
48643
48946
  "immutable": true,
48644
48947
  "locationInModule": {
48645
48948
  "filename": "src/javascript/jest.ts",
48646
- "line": 433
48949
+ "line": 491
48647
48950
  },
48648
48951
  "name": "transform",
48649
48952
  "optional": true,
@@ -48667,7 +48970,7 @@
48667
48970
  "immutable": true,
48668
48971
  "locationInModule": {
48669
48972
  "filename": "src/javascript/jest.ts",
48670
- "line": 440
48973
+ "line": 498
48671
48974
  },
48672
48975
  "name": "transformIgnorePatterns",
48673
48976
  "optional": true,
@@ -48691,7 +48994,7 @@
48691
48994
  "immutable": true,
48692
48995
  "locationInModule": {
48693
48996
  "filename": "src/javascript/jest.ts",
48694
- "line": 448
48997
+ "line": 506
48695
48998
  },
48696
48999
  "name": "unmockedModulePathPatterns",
48697
49000
  "optional": true,
@@ -48715,7 +49018,7 @@
48715
49018
  "immutable": true,
48716
49019
  "locationInModule": {
48717
49020
  "filename": "src/javascript/jest.ts",
48718
- "line": 456
49021
+ "line": 514
48719
49022
  },
48720
49023
  "name": "verbose",
48721
49024
  "optional": true,
@@ -48723,6 +49026,25 @@
48723
49026
  "primitive": "boolean"
48724
49027
  }
48725
49028
  },
49029
+ {
49030
+ "abstract": true,
49031
+ "docs": {
49032
+ "default": "- false",
49033
+ "remarks": "Without this flag Jest may report false-positive errors or fail to report actually unhandled rejections.\nThis option may add a noticeable overhead for fast test suites.",
49034
+ "stability": "experimental",
49035
+ "summary": "Gives one event loop turn to handle `rejectionHandled`, `uncaughtException` or `unhandledRejection`."
49036
+ },
49037
+ "immutable": true,
49038
+ "locationInModule": {
49039
+ "filename": "src/javascript/jest.ts",
49040
+ "line": 522
49041
+ },
49042
+ "name": "waitForUnhandledRejections",
49043
+ "optional": true,
49044
+ "type": {
49045
+ "primitive": "boolean"
49046
+ }
49047
+ },
48726
49048
  {
48727
49049
  "abstract": true,
48728
49050
  "docs": {
@@ -48733,7 +49055,7 @@
48733
49055
  "immutable": true,
48734
49056
  "locationInModule": {
48735
49057
  "filename": "src/javascript/jest.ts",
48736
- "line": 476
49058
+ "line": 542
48737
49059
  },
48738
49060
  "name": "watchman",
48739
49061
  "optional": true,
@@ -48744,7 +49066,7 @@
48744
49066
  {
48745
49067
  "abstract": true,
48746
49068
  "docs": {
48747
- "default": "- []",
49069
+ "default": "- [\"/node_modules/\"]",
48748
49070
  "remarks": "If the file path matches any of the patterns, when it is updated, it will not trigger\na re-run of tests.",
48749
49071
  "stability": "experimental",
48750
49072
  "summary": "An array of RegExp patterns that are matched against all source file paths before re-running tests in watch mode."
@@ -48752,7 +49074,7 @@
48752
49074
  "immutable": true,
48753
49075
  "locationInModule": {
48754
49076
  "filename": "src/javascript/jest.ts",
48755
- "line": 464
49077
+ "line": 530
48756
49078
  },
48757
49079
  "name": "watchPathIgnorePatterns",
48758
49080
  "optional": true,
@@ -48774,7 +49096,7 @@
48774
49096
  "immutable": true,
48775
49097
  "locationInModule": {
48776
49098
  "filename": "src/javascript/jest.ts",
48777
- "line": 470
49099
+ "line": 536
48778
49100
  },
48779
49101
  "name": "watchPlugins",
48780
49102
  "optional": true,
@@ -48786,6 +49108,72 @@
48786
49108
  "kind": "array"
48787
49109
  }
48788
49110
  }
49111
+ },
49112
+ {
49113
+ "abstract": true,
49114
+ "docs": {
49115
+ "default": "- 500",
49116
+ "remarks": "If a worker does not exit within this timeout, it is force-killed.",
49117
+ "stability": "experimental",
49118
+ "summary": "Timeout in milliseconds for a worker process to exit gracefully after all tests have completed."
49119
+ },
49120
+ "immutable": true,
49121
+ "locationInModule": {
49122
+ "filename": "src/javascript/jest.ts",
49123
+ "line": 549
49124
+ },
49125
+ "name": "workerGracefulExitTimeout",
49126
+ "optional": true,
49127
+ "type": {
49128
+ "primitive": "number"
49129
+ }
49130
+ },
49131
+ {
49132
+ "abstract": true,
49133
+ "docs": {
49134
+ "default": "- undefined",
49135
+ "remarks": "The limit can be specified as a percentage of system memory (e.g. `0.5` or `\"50%\"`)\nor as a fixed byte value (e.g. `\"512MB\"`).",
49136
+ "stability": "experimental",
49137
+ "summary": "Specifies the memory limit for workers before they are recycled and is primarily a work-around for memory leaks."
49138
+ },
49139
+ "immutable": true,
49140
+ "locationInModule": {
49141
+ "filename": "src/javascript/jest.ts",
49142
+ "line": 557
49143
+ },
49144
+ "name": "workerIdleMemoryLimit",
49145
+ "optional": true,
49146
+ "type": {
49147
+ "union": {
49148
+ "types": [
49149
+ {
49150
+ "primitive": "string"
49151
+ },
49152
+ {
49153
+ "primitive": "number"
49154
+ }
49155
+ ]
49156
+ }
49157
+ }
49158
+ },
49159
+ {
49160
+ "abstract": true,
49161
+ "docs": {
49162
+ "default": "- false",
49163
+ "remarks": "Child processes are used by default.\nUsing worker threads may help to improve performance.",
49164
+ "stability": "experimental",
49165
+ "summary": "Whether to use worker threads for parallelization."
49166
+ },
49167
+ "immutable": true,
49168
+ "locationInModule": {
49169
+ "filename": "src/javascript/jest.ts",
49170
+ "line": 564
49171
+ },
49172
+ "name": "workerThreads",
49173
+ "optional": true,
49174
+ "type": {
49175
+ "primitive": "boolean"
49176
+ }
48789
49177
  }
48790
49178
  ],
48791
49179
  "symbolId": "src/javascript/jest:JestConfigOptions"
@@ -48801,7 +49189,7 @@
48801
49189
  "kind": "interface",
48802
49190
  "locationInModule": {
48803
49191
  "filename": "src/javascript/jest.ts",
48804
- "line": 487
49192
+ "line": 575
48805
49193
  },
48806
49194
  "name": "JestDiscoverTestMatchPatternsForDirsOptions",
48807
49195
  "namespace": "javascript",
@@ -48816,7 +49204,7 @@
48816
49204
  "immutable": true,
48817
49205
  "locationInModule": {
48818
49206
  "filename": "src/javascript/jest.ts",
48819
- "line": 489
49207
+ "line": 577
48820
49208
  },
48821
49209
  "name": "fileExtensionPattern",
48822
49210
  "optional": true,
@@ -48837,7 +49225,7 @@
48837
49225
  "kind": "interface",
48838
49226
  "locationInModule": {
48839
49227
  "filename": "src/javascript/jest.ts",
48840
- "line": 528
49228
+ "line": 616
48841
49229
  },
48842
49230
  "name": "JestOptions",
48843
49231
  "namespace": "javascript",
@@ -48852,7 +49240,7 @@
48852
49240
  "immutable": true,
48853
49241
  "locationInModule": {
48854
49242
  "filename": "src/javascript/jest.ts",
48855
- "line": 577
49243
+ "line": 665
48856
49244
  },
48857
49245
  "name": "configFilePath",
48858
49246
  "optional": true,
@@ -48870,7 +49258,7 @@
48870
49258
  "immutable": true,
48871
49259
  "locationInModule": {
48872
49260
  "filename": "src/javascript/jest.ts",
48873
- "line": 535
49261
+ "line": 623
48874
49262
  },
48875
49263
  "name": "coverageText",
48876
49264
  "optional": true,
@@ -48888,7 +49276,7 @@
48888
49276
  "immutable": true,
48889
49277
  "locationInModule": {
48890
49278
  "filename": "src/javascript/jest.ts",
48891
- "line": 589
49279
+ "line": 677
48892
49280
  },
48893
49281
  "name": "extraCliOptions",
48894
49282
  "optional": true,
@@ -48911,7 +49299,7 @@
48911
49299
  "immutable": true,
48912
49300
  "locationInModule": {
48913
49301
  "filename": "src/javascript/jest.ts",
48914
- "line": 583
49302
+ "line": 671
48915
49303
  },
48916
49304
  "name": "jestConfig",
48917
49305
  "optional": true,
@@ -48930,7 +49318,7 @@
48930
49318
  "immutable": true,
48931
49319
  "locationInModule": {
48932
49320
  "filename": "src/javascript/jest.ts",
48933
- "line": 570
49321
+ "line": 658
48934
49322
  },
48935
49323
  "name": "jestVersion",
48936
49324
  "optional": true,
@@ -48949,7 +49337,7 @@
48949
49337
  "immutable": true,
48950
49338
  "locationInModule": {
48951
49339
  "filename": "src/javascript/jest.ts",
48952
- "line": 544
49340
+ "line": 632
48953
49341
  },
48954
49342
  "name": "junitReporting",
48955
49343
  "optional": true,
@@ -48967,7 +49355,7 @@
48967
49355
  "immutable": true,
48968
49356
  "locationInModule": {
48969
49357
  "filename": "src/javascript/jest.ts",
48970
- "line": 595
49358
+ "line": 683
48971
49359
  },
48972
49360
  "name": "passWithNoTests",
48973
49361
  "optional": true,
@@ -48985,7 +49373,7 @@
48985
49373
  "immutable": true,
48986
49374
  "locationInModule": {
48987
49375
  "filename": "src/javascript/jest.ts",
48988
- "line": 551
49376
+ "line": 639
48989
49377
  },
48990
49378
  "name": "preserveDefaultReporters",
48991
49379
  "optional": true,
@@ -49003,7 +49391,7 @@
49003
49391
  "immutable": true,
49004
49392
  "locationInModule": {
49005
49393
  "filename": "src/javascript/jest.ts",
49006
- "line": 559
49394
+ "line": 647
49007
49395
  },
49008
49396
  "name": "updateSnapshot",
49009
49397
  "optional": true,
@@ -49026,7 +49414,7 @@
49026
49414
  },
49027
49415
  "locationInModule": {
49028
49416
  "filename": "src/javascript/jest.ts",
49029
- "line": 626
49417
+ "line": 826
49030
49418
  },
49031
49419
  "parameters": [
49032
49420
  {
@@ -49052,7 +49440,7 @@
49052
49440
  "kind": "class",
49053
49441
  "locationInModule": {
49054
49442
  "filename": "src/javascript/jest.ts",
49055
- "line": 625
49443
+ "line": 825
49056
49444
  },
49057
49445
  "name": "JestReporter",
49058
49446
  "namespace": "javascript",
@@ -53851,6 +54239,207 @@
53851
54239
  ],
53852
54240
  "symbolId": "src/javascript/node-package:ScopedPackagesOptions"
53853
54241
  },
54242
+ "projen.javascript.SnapshotFormatOptions": {
54243
+ "assembly": "projen",
54244
+ "datatype": true,
54245
+ "docs": {
54246
+ "remarks": "Mirrors the pretty-format options, with the exceptions of\n`compareKeys` and `plugins`.",
54247
+ "see": "https://jestjs.io/docs/configuration#snapshotformat-object",
54248
+ "stability": "experimental",
54249
+ "summary": "Snapshot formatting options."
54250
+ },
54251
+ "fqn": "projen.javascript.SnapshotFormatOptions",
54252
+ "kind": "interface",
54253
+ "locationInModule": {
54254
+ "filename": "src/javascript/jest.ts",
54255
+ "line": 763
54256
+ },
54257
+ "name": "SnapshotFormatOptions",
54258
+ "namespace": "javascript",
54259
+ "properties": [
54260
+ {
54261
+ "abstract": true,
54262
+ "docs": {
54263
+ "default": "- true",
54264
+ "stability": "experimental",
54265
+ "summary": "Calls `toJSON` on objects that have such a method."
54266
+ },
54267
+ "immutable": true,
54268
+ "locationInModule": {
54269
+ "filename": "src/javascript/jest.ts",
54270
+ "line": 768
54271
+ },
54272
+ "name": "callToJSON",
54273
+ "optional": true,
54274
+ "type": {
54275
+ "primitive": "boolean"
54276
+ }
54277
+ },
54278
+ {
54279
+ "abstract": true,
54280
+ "docs": {
54281
+ "default": "- false",
54282
+ "stability": "experimental",
54283
+ "summary": "Escapes special characters in regular expressions."
54284
+ },
54285
+ "immutable": true,
54286
+ "locationInModule": {
54287
+ "filename": "src/javascript/jest.ts",
54288
+ "line": 774
54289
+ },
54290
+ "name": "escapeRegex",
54291
+ "optional": true,
54292
+ "type": {
54293
+ "primitive": "boolean"
54294
+ }
54295
+ },
54296
+ {
54297
+ "abstract": true,
54298
+ "docs": {
54299
+ "default": "- false",
54300
+ "stability": "experimental",
54301
+ "summary": "Escapes quotes in strings."
54302
+ },
54303
+ "immutable": true,
54304
+ "locationInModule": {
54305
+ "filename": "src/javascript/jest.ts",
54306
+ "line": 780
54307
+ },
54308
+ "name": "escapeString",
54309
+ "optional": true,
54310
+ "type": {
54311
+ "primitive": "boolean"
54312
+ }
54313
+ },
54314
+ {
54315
+ "abstract": true,
54316
+ "docs": {
54317
+ "default": "- false",
54318
+ "stability": "experimental",
54319
+ "summary": "Highlights syntax with colors in terminal (some plugins)."
54320
+ },
54321
+ "immutable": true,
54322
+ "locationInModule": {
54323
+ "filename": "src/javascript/jest.ts",
54324
+ "line": 786
54325
+ },
54326
+ "name": "highlight",
54327
+ "optional": true,
54328
+ "type": {
54329
+ "primitive": "boolean"
54330
+ }
54331
+ },
54332
+ {
54333
+ "abstract": true,
54334
+ "docs": {
54335
+ "default": "- 2",
54336
+ "stability": "experimental",
54337
+ "summary": "Spaces of indentation between levels of nesting."
54338
+ },
54339
+ "immutable": true,
54340
+ "locationInModule": {
54341
+ "filename": "src/javascript/jest.ts",
54342
+ "line": 792
54343
+ },
54344
+ "name": "indent",
54345
+ "optional": true,
54346
+ "type": {
54347
+ "primitive": "number"
54348
+ }
54349
+ },
54350
+ {
54351
+ "abstract": true,
54352
+ "docs": {
54353
+ "default": "- Infinity",
54354
+ "stability": "experimental",
54355
+ "summary": "Maximum number of levels to print."
54356
+ },
54357
+ "immutable": true,
54358
+ "locationInModule": {
54359
+ "filename": "src/javascript/jest.ts",
54360
+ "line": 798
54361
+ },
54362
+ "name": "maxDepth",
54363
+ "optional": true,
54364
+ "type": {
54365
+ "primitive": "number"
54366
+ }
54367
+ },
54368
+ {
54369
+ "abstract": true,
54370
+ "docs": {
54371
+ "default": "- Infinity",
54372
+ "stability": "experimental",
54373
+ "summary": "Maximum number of elements to print at a given level."
54374
+ },
54375
+ "immutable": true,
54376
+ "locationInModule": {
54377
+ "filename": "src/javascript/jest.ts",
54378
+ "line": 804
54379
+ },
54380
+ "name": "maxWidth",
54381
+ "optional": true,
54382
+ "type": {
54383
+ "primitive": "number"
54384
+ }
54385
+ },
54386
+ {
54387
+ "abstract": true,
54388
+ "docs": {
54389
+ "default": "- false",
54390
+ "stability": "experimental",
54391
+ "summary": "Prints objects on a single line when `true`."
54392
+ },
54393
+ "immutable": true,
54394
+ "locationInModule": {
54395
+ "filename": "src/javascript/jest.ts",
54396
+ "line": 810
54397
+ },
54398
+ "name": "min",
54399
+ "optional": true,
54400
+ "type": {
54401
+ "primitive": "boolean"
54402
+ }
54403
+ },
54404
+ {
54405
+ "abstract": true,
54406
+ "docs": {
54407
+ "default": "- false",
54408
+ "stability": "experimental",
54409
+ "summary": "Prints the prototype for basic objects and arrays."
54410
+ },
54411
+ "immutable": true,
54412
+ "locationInModule": {
54413
+ "filename": "src/javascript/jest.ts",
54414
+ "line": 816
54415
+ },
54416
+ "name": "printBasicPrototype",
54417
+ "optional": true,
54418
+ "type": {
54419
+ "primitive": "boolean"
54420
+ }
54421
+ },
54422
+ {
54423
+ "abstract": true,
54424
+ "docs": {
54425
+ "default": "- true",
54426
+ "stability": "experimental",
54427
+ "summary": "Prints the name of functions."
54428
+ },
54429
+ "immutable": true,
54430
+ "locationInModule": {
54431
+ "filename": "src/javascript/jest.ts",
54432
+ "line": 822
54433
+ },
54434
+ "name": "printFunctionName",
54435
+ "optional": true,
54436
+ "type": {
54437
+ "primitive": "boolean"
54438
+ }
54439
+ }
54440
+ ],
54441
+ "symbolId": "src/javascript/jest:SnapshotFormatOptions"
54442
+ },
53854
54443
  "projen.javascript.SourceMapMode": {
53855
54444
  "assembly": "projen",
53856
54445
  "docs": {
@@ -53948,7 +54537,7 @@
53948
54537
  },
53949
54538
  "locationInModule": {
53950
54539
  "filename": "src/javascript/jest.ts",
53951
- "line": 493
54540
+ "line": 581
53952
54541
  },
53953
54542
  "parameters": [
53954
54543
  {
@@ -53969,7 +54558,7 @@
53969
54558
  "kind": "class",
53970
54559
  "locationInModule": {
53971
54560
  "filename": "src/javascript/jest.ts",
53972
- "line": 492
54561
+ "line": 580
53973
54562
  },
53974
54563
  "name": "Transform",
53975
54564
  "namespace": "javascript",
@@ -55916,7 +56505,7 @@
55916
56505
  "kind": "enum",
55917
56506
  "locationInModule": {
55918
56507
  "filename": "src/javascript/jest.ts",
55919
- "line": 605
56508
+ "line": 693
55920
56509
  },
55921
56510
  "members": [
55922
56511
  {
@@ -56783,7 +57372,7 @@
56783
57372
  },
56784
57373
  "locationInModule": {
56785
57374
  "filename": "src/javascript/jest.ts",
56786
- "line": 511
57375
+ "line": 599
56787
57376
  },
56788
57377
  "parameters": [
56789
57378
  {
@@ -56804,7 +57393,7 @@
56804
57393
  "kind": "class",
56805
57394
  "locationInModule": {
56806
57395
  "filename": "src/javascript/jest.ts",
56807
- "line": 510
57396
+ "line": 598
56808
57397
  },
56809
57398
  "name": "WatchPlugin",
56810
57399
  "namespace": "javascript",
@@ -82824,6 +83413,6 @@
82824
83413
  "usedFeatures": [
82825
83414
  "class-covariant-overrides"
82826
83415
  ],
82827
- "version": "0.101.0",
82828
- "fingerprint": "BGjjsI3QkQI4hi7MIJUczqwF4kXN1seEj8Q+SMJC7eg="
83416
+ "version": "0.101.1",
83417
+ "fingerprint": "poLrF+ixHBTm74Yqq8AASdgG3CRK0y+odoIOt6z6kwk="
82829
83418
  }