Skip to content

Commit bc34b52

Browse files
committed
Update merge (trekhleb#3)
1 parent ebfd527 commit bc34b52

File tree

141 files changed

+6182
-1317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+6182
-1317
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
.idea
33
coverage
44
.vscode
5+
.DS_Store

README.md

+152-113
Large diffs are not rendered by default.

README.zh-CN.md

+95-94
Large diffs are not rendered by default.

README.zh-TW.md

+95-94
Large diffs are not rendered by default.

jest.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
module.exports = {
2+
// The bail config option can be used here to have Jest stop running tests after
3+
// the first failure.
4+
bail: false,
5+
6+
// Indicates whether each individual test should be reported during the run.
27
verbose: false,
8+
9+
// Indicates whether the coverage information should be collected while executing the test
310
collectCoverage: false,
11+
12+
// The directory where Jest should output its coverage files.
413
coverageDirectory: './coverage/',
14+
15+
// If the test path matches any of the patterns, it will be skipped.
16+
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
17+
18+
// If the file path matches any of the patterns, coverage information will be skipped.
19+
coveragePathIgnorePatterns: ['<rootDir>/node_modules/'],
20+
21+
// The pattern Jest uses to detect test files.
22+
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$',
523
};

0 commit comments

Comments
 (0)