Skip to content
Snippets Groups Projects
Commit 9d71555b authored by Rhys Arkins's avatar Rhys Arkins
Browse files

tests: fix semantic test

parent 3989d47f
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,13 @@ jest
.dontMock('chalk')
.dontMock('../../../../lib/workers/repository/init');
const base = require('../../../../lib/workers/repository/init/base');
const { initRepo } = require('../../../../lib/workers/repository/init');
describe('workers/repository/init', () => {
describe('initRepo', () => {
it('runs', async () => {
base.checkBaseBranch.mockReturnValue({});
await initRepo({}, null);
});
});
......
......@@ -8,7 +8,7 @@ beforeEach(() => {
const {
detectSemanticCommits,
} = require('../../../../lib/workers/repository/updates/semantic');
} = require('../../../../lib/workers/repository/init/semantic');
describe('workers/repository/init/semantic', () => {
describe('detectSemanticCommits()', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment