Skip to content

Commit

Permalink
Correct lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lo-tp committed Apr 20, 2017
1 parent d86eaf2 commit 32548c9
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .yarnclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# test directories
__tests__
test
tests
powered-test

# asset directories
docs
doc
website
images
assets

# examples
example
examples

# code coverage directories
coverage
.nyc_output

# build scripts
Makefile
Gulpfile.js
Gruntfile.js

# configs
.tern-project
.gitattributes
.editorconfig
.*ignore
.eslintrc
.jshintrc
.flowconfig
.documentup.json
.yarn-metadata.json
.*.yml
*.yml

# misc
*.gz
*.md
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"private": true,
"name":"jest",
"version":"1.0.1",
"devDependencies": {
"ansi-regex": "^2.0.0",
"ansi-styles": "^3.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/jest-jasmine2/src/treeProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ function treeProcessor(options: Options) {
}

return queueRunnerFactory({
<<<<<<< HEAD
onException: error => tree.onException(error),
=======
onException: error => tree.onException(tree, error),
>>>>>>> Correct lint errors
queueableFns: wrapChildren(tree, isEnabled(tree, false)),
userContext: tree.sharedUserContext(),
});
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const getCacheKey = (
configToJsonMap.set(
config,
stableStringify({
transform: config.transform,
cacheDirectory: config.cacheDirectory,
collectCoverage: config.collectCoverage,
collectCoverageFrom: config.collectCoverageFrom,
Expand All @@ -69,6 +68,7 @@ const getCacheKey = (
roots: config.roots,
testMatch: config.testMatch,
testRegex: config.testRegex,
transform: config.transform,
transformIgnorePatterns: config.transformIgnorePatterns,
}),
);
Expand Down

0 comments on commit 32548c9

Please sign in to comment.