Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
chore(project): temporarily remove README-template.md requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
olavoparno committed Jul 7, 2020
1 parent dfa1e3c commit a49ee75
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [1.5.0](https://github.com/olavoparno/jest-badges-readme/compare/v1.4.2...v1.5.0) (2020-07-07)



## [1.4.2](https://github.com/olavoparno/jest-badges-readme/compare/v1.4.1...v1.4.2) (2020-06-20)


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/olavoparno"
},
"description": "Creates a group of coverage badges from Jest into your README.",
"version": "1.4.2",
"version": "1.5.0",
"homepage": "https://github.com/olavoparno/jest-badges-readme#readme",
"repository": {
"type": "git",
Expand All @@ -15,7 +15,9 @@
"bin": {
"jest-badges-readme": "lib/index.js"
},
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"scripts": {
"test": "jest --config jestconfig.json && node lib/index.js",
"testArgs": "jest --config jestconfig.json && node lib/index.js --coverageDir='./src/'",
Expand Down
2 changes: 1 addition & 1 deletion src/helper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class Helper {
returnValue = true;
setTimeout(() => {
fs.writeFileSync(readmeFile, readmeFileData, 'utf8');
}, 100)
}, 100);
} else {
returnValue = false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/tests/creator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const reportKeys = [
describe('Badge Maker', () => {
beforeEach(() => {
creator = new Creator();
})
});
beforeAll(() => {
readmeFile = './README.md';
readmeTemplateFile = './README-template.md';
Expand Down

0 comments on commit a49ee75

Please sign in to comment.