test: fixs suite

This commit is contained in:
GitHub Actions 2021-10-14 09:12:48 +02:00
parent 1d6848cd17
commit b97833f7c5

View File

@ -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);
});