Skip to content

Commit

Permalink
add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
selfagency committed Feb 28, 2021
1 parent 444b33c commit 9588659
Show file tree
Hide file tree
Showing 3 changed files with 2,054 additions and 1,018 deletions.
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
// collectCoverage: false,
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
// collectCoverageFrom: undefined,
Expand Down Expand Up @@ -132,7 +132,7 @@ module.exports = {
// snapshotSerializers: [],

// The test environment that will be used for testing
testEnvironment: 'node',
testEnvironment: 'node'

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"convert",
"characters"
],
"version": "0.3.0",
"version": "0.3.1",
"repository": "https://gitlab.com/selfagency/utfu.git",
"author": "Daniel Sieradski <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"build": "pika build",
"test": "jest --coverage",
"test": "jest && codecov",
"pu": "npm version patch; pika build; cd pkg; npm pu;"
},
"@pika/pack": {
Expand Down Expand Up @@ -47,8 +47,8 @@
"windows-1252": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.6",
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@pika/pack": "^0.5.0",
"@pika/plugin-build-node": "^0.9.2",
"@pika/plugin-build-types": "^0.9.2",
Expand All @@ -57,19 +57,19 @@
"@pika/plugin-bundle-web": "^0.9.2",
"@pika/plugin-standard-pkg": "^0.9.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.4.0",
"babel-loader": "^8.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-standard": "^4.0.1",
"jest": "^25.4.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"pika-plugin-minify": "^0.1.0",
"prettier": "^2.0.5",
"typescript": "^3.8.3"
"prettier": "^2.2.1",
"typescript": "^4.2.2"
}
}
Loading

0 comments on commit 9588659

Please sign in to comment.