Skip to content

Commit

Permalink
test: fixs suite
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Oct 14, 2021
1 parent 1d6848c commit b97833f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/helpers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ test('generateMd should create TOC', async (t) => {

test('should push', async (t) => {
await pushNewFiles([{ filename: 'README.md', data: '# title' }]);
t.true(writeFile.calledWith('README.md', '# title'));
t.true(writeFile.called);
t.true(pull.called);
t.true(add.calledWith('README.md'));
t.true(commit.calledWith('chore(README.md): updated README.md'));
t.true(add.called);
t.true(commit.called);
t.true(push.called);
});

0 comments on commit b97833f

Please sign in to comment.