Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Oct 7, 2024
1 parent 1a5087b commit 6ea6319
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/process.issue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jest.mock("../src/parser/command-line", () => {
};
});

jest.mock("@ubiquibot/permit-generation/core", () => {
const originalModule = jest.requireActual("@ubiquibot/permit-generation/core");
jest.mock("@ubiquibot/permit-generation", () => {
const originalModule = jest.requireActual("@ubiquibot/permit-generation");

return {
__esModule: true,
Expand Down
4 changes: 2 additions & 2 deletions tests/rewards.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jest.mock("@octokit/plugin-paginate-graphql", () => ({
},
}));

jest.mock("@ubiquibot/permit-generation/core", () => {
const originalModule = jest.requireActual("@ubiquibot/permit-generation/core");
jest.mock("@ubiquibot/permit-generation", () => {
const originalModule = jest.requireActual("@ubiquibot/permit-generation");

return {
__esModule: true,
Expand Down

0 comments on commit 6ea6319

Please sign in to comment.