Skip to content

exclude tests from coverage + bump TS parser #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 4, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"rimraf": "^2.6.2",
"sinon": "^2.3.2",
"typescript": "^2.6.2",
"typescript-eslint-parser": "^12.0.0"
"typescript-eslint-parser": "^15.0.0"
},
"peerDependencies": {
"eslint": "2.x - 4.x"
Expand All @@ -95,6 +95,9 @@
"babel-register"
],
"sourceMap": false,
"instrument": false
"instrument": false,
"exclude": [
"tests/"
]
}
}
5 changes: 5 additions & 0 deletions resolvers/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,10 @@
"coveralls": "^3.0.0",
"mocha": "^3.5.3",
"nyc": "^10.3.2"
},
"nyc": {
"exclude": [
"test/"
]
}
}
5 changes: 5 additions & 0 deletions resolvers/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,10 @@
"coveralls": "^3.0.0",
"mocha": "^2.3.3",
"nyc": "^7.0.0"
},
"nyc": {
"exclude": [
"test/"
]
}
}
2 changes: 2 additions & 0 deletions tests/src/core/getExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ describe('ExportMap', function () {
})

context('alternate parsers', function () {
this.timeout(10000) // takes a long time :shrug:

const configs = [
// ['string form', { 'typescript-eslint-parser': '.ts' }],
['array form', { 'typescript-eslint-parser': ['.ts', '.tsx'] }],
Expand Down