Skip to content

Commit aa20be3

Browse files
authored
Merge pull request #6 from trekhleb/master
Pull from trekhleb/javascript-algorithms
2 parents dc129ff + 3e8540b commit aa20be3

File tree

117 files changed

+5233
-1358
lines changed

Some content is hidden

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

117 files changed

+5233
-1358
lines changed

README.md

Lines changed: 141 additions & 112 deletions
Large diffs are not rendered by default.

README.zh-CN.md

Lines changed: 92 additions & 92 deletions
Large diffs are not rendered by default.

README.zh-TW.md

Lines changed: 92 additions & 92 deletions
Large diffs are not rendered by default.

jest.config.js

Lines changed: 18 additions & 0 deletions
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)