Skip to content

Commit

Permalink
fix mock imports in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Mar 26, 2024
1 parent d3b028e commit 46b507f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion workflow_tests/authorChecklist.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/authorChecklistAssertions');
const mocks = require('./mocks/authorChecklistMocks');
const mocks = require('./mocks/authorChecklistMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/lint.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/lintAssertions');
const mocks = require('./mocks/lintMocks');
const mocks = require('./mocks/lintMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/lockDeploys.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/lockDeploysAssertions');
const mocks = require('./mocks/lockDeploysMocks');
const mocks = require('./mocks/lockDeploysMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/reviewerChecklist.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/reviewerChecklistAssertions');
const mocks = require('./mocks/reviewerChecklistMocks');
const mocks = require('./mocks/reviewerChecklistMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/validateGithubActions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/validateGithubActionsAssertions');
const mocks = require('./mocks/validateGithubActionsMocks');
const mocks = require('./mocks/validateGithubActionsMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/verifyPodfile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/verifyPodfileAssertions');
const mocks = require('./mocks/verifyPodfileMocks');
const mocks = require('./mocks/verifyPodfileMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/verifySignedCommits.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const kieMockGithub = require('@kie/mock-github');
const utils = require('./utils/utils');
const assertions = require('./assertions/verifySignedCommitsAssertions');
const mocks = require('./mocks/verifySignedCommitsMocks');
const mocks = require('./mocks/verifySignedCommitsMocks').default;
const ExtendedAct = require('./utils/ExtendedAct').default;

jest.setTimeout(90 * 1000);
Expand Down

0 comments on commit 46b507f

Please sign in to comment.