-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
641 changed files
with
10,531 additions
and
35,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
!.* | ||
**/coverage/** | ||
**/node_modules/** | ||
bin/ | ||
flow-typed/** | ||
packages/*/build/** | ||
packages/*/dist/** | ||
packages/jest-diff/src/cleanupSemantic.ts | ||
website/.docusaurus | ||
website/blog | ||
website/build | ||
website/node_modules | ||
website/i18n/*.js | ||
website/static | ||
!.eslintrc.js | ||
|
||
# Third-party script | ||
packages/jest-diff/src/cleanupSemantic.ts | ||
|
||
**/.yarn | ||
**/.pnp.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* text=auto | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
fixtures/failing-jsons/ | ||
.idea | ||
.DS_STORE | ||
.eslintcache | ||
*.swp | ||
*~ | ||
api-extractor.json | ||
coverage | ||
|
||
/packages/*/build | ||
/packages/*/dist | ||
/packages/jest-config/src/__tests__/jest-preset.json | ||
/packages/pretty-format/__benchmarks__/world.geo.json | ||
|
||
# Breaks tests | ||
/e2e/coverage-handlebars/greet.hbs | ||
|
||
# Third-party script | ||
packages/jest-diff/src/cleanupSemantic.ts | ||
packages/jest-config/src/__tests__/jest-preset.json | ||
packages/pretty-format/perf/world.geo.json | ||
website/versions.json | ||
|
||
/website/.docusaurus | ||
/website/backers.json | ||
/website/build | ||
/website/versions.json | ||
|
||
**/.yarn | ||
**/.pnp.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/jest/setup.js b/jest/setup.js | ||
index 5bc65447594091c2da6dadb4be6bc1c6da43c7a0..356e7ff3eb55947e084db5d1df9b2d9f0544a15b 100644 | ||
--- a/jest/setup.js | ||
+++ b/jest/setup.js | ||
@@ -17,13 +17,8 @@ jest.requireActual('@react-native/polyfills/error-guard'); | ||
|
||
global.__DEV__ = true; | ||
|
||
-global.performance = { | ||
- now: jest.fn(Date.now), | ||
-}; | ||
- | ||
global.Promise = jest.requireActual('promise'); | ||
global.regeneratorRuntime = jest.requireActual('regenerator-runtime/runtime'); | ||
-global.window = global; | ||
|
||
global.requestAnimationFrame = function (callback) { | ||
return setTimeout(callback, 0); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.