Skip to content

Commit

Permalink
Merge 7eb9fba into 38b6376
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] committed Sep 4, 2018
2 parents 38b6376 + 7eb9fba commit 9d636aa
Show file tree
Hide file tree
Showing 3 changed files with 250 additions and 314 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@alorel-personal/conventional-changelog-alorel": "2.0.3",
"@alorel-personal/tslint-rules": "1.2.2",
"@alorel-personal/tslint-rules": "2.0.0",
"@semantic-release/changelog": "^3.0.0",
"@semantic-release/git": "^7.0.1",
"@semantic-release/npm": "^5.0.1",
Expand Down
12 changes: 6 additions & 6 deletions test/setReadmeVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('setReadmeVersions', () => {
let version: string;
let newReadme: string;

before('init', async() => {
before('init', async () => {
readmeFixturePath = join(__dirname, 'fixtures', 'README.md');
cwd = __dirname;
fixtureOutPath = join(cwd, 'README.md');
Expand All @@ -21,22 +21,22 @@ describe('setReadmeVersions', () => {
await fs.writeFile(fixtureOutPath, readmeFixture);
});

before('run', async() => {
before('run', async () => {
await setReadmeVersions({}, {
cwd,
logger: {
error: function() {
error: function () {
console.error.apply(console, arguments);
},
log: function() {
log: function () {
console.log.apply(console, arguments);
}
},
nextRelease: {version}
});
});

before('read', async() => {
before('read', async () => {
newReadme = await fs.readFile(fixtureOutPath, 'utf8');
});

Expand All @@ -58,7 +58,7 @@ describe('setReadmeVersions', () => {
});
});

after('cleanup', async() => {
after('cleanup', async () => {
try {
await fs.unlink(fixtureOutPath);
} catch {
Expand Down
Loading

0 comments on commit 9d636aa

Please sign in to comment.