-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from burtek/jest-runner-eslint
jest-runner-eslint & auto-changelog
- Loading branch information
Showing
13 changed files
with
274 additions
and
26 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 |
---|---|---|
|
@@ -44,4 +44,4 @@ jobs: | |
with: | ||
files: junit.xml | ||
- name: 'Build' | ||
run: yarn build | ||
run: yarn build |
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 |
---|---|---|
|
@@ -50,4 +50,4 @@ | |
"MD048 ": { | ||
"style": "backtick" | ||
} | ||
} | ||
} |
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,22 @@ | ||
### Changelog | ||
|
||
All notable changes to this project will be documented in this file. Dates are displayed in UTC. | ||
|
||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
|
||
#### [v1.0.2](https://github.com/burtek/react-utils/compare/v1.0.1...v1.0.2) | ||
|
||
> 12 November 2021 | ||
- build and publish changes [`4aad176`](https://github.com/burtek/react-utils/commit/4aad176988330819dc90d6792dc610802d55b5fe) | ||
- repo in package.json [`9ecb938`](https://github.com/burtek/react-utils/commit/9ecb938343227c0a7d4d1a3414dfaf2412a0b0aa) | ||
|
||
#### [v1.0.1](https://github.com/burtek/react-utils/compare/v1.0.0...v1.0.1) | ||
|
||
> 12 November 2021 | ||
#### v1.0.0 | ||
|
||
> 12 November 2021 | ||
- Initial release [`733cea8`](https://github.com/burtek/react-utils/commit/733cea8924d171871e5b1a54d0ed9109ff8d6b5f) |
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,7 +1,24 @@ | ||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | ||
const config = { | ||
module.exports = { | ||
ci: true, | ||
reporters: ["default", "jest-junit"] | ||
projects: [ | ||
{ | ||
displayName: 'test', | ||
preset: 'ts-jest', | ||
testEnvironment: 'jest-environment-jsdom' | ||
}, | ||
{ | ||
displayName: 'lint', | ||
runner: 'jest-runner-eslint', | ||
testMatch: [ | ||
'<rootDir>/src/**/*.js', | ||
'<rootDir>/src/**/*.jsx', | ||
'<rootDir>/src/**/*.ts', | ||
'<rootDir>/src/**/*.tsx' | ||
] | ||
} | ||
], | ||
collectCoverage: true, | ||
coverageProvider: 'v8', | ||
reporters: ['default', 'jest-junit'] | ||
}; | ||
|
||
module.exports = Object.assign({}, require('./jest-coverage.config.js'), config); |
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,7 +1,7 @@ | ||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | ||
const config = { | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'jest-environment-jsdom', | ||
collectCoverage: true, | ||
coverageProvider: 'v8' | ||
}; | ||
|
||
module.exports = Object.assign({}, require('./jest.config.js'), config); |
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
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
"rootDir": "./", | ||
"resolveJsonModule": true | ||
} | ||
} | ||
} |
Oops, something went wrong.