test(scaffolder): fix more existing tests

Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
Benjamin Janssens
2025-02-03 15:18:19 +01:00
committed by blam
parent fc0eef2b67
commit c3f746ca73
2 changed files with 2 additions and 2 deletions
@@ -27,7 +27,7 @@ import yaml from 'yaml';
import { examples } from './githubIssuesLabel.examples';
import { getOctokitOptions } from '../util';
jest.mock('./helpers', () => {
jest.mock('../util', () => {
return {
getOctokitOptions: jest.fn(),
};
@@ -25,7 +25,7 @@ import { ConfigReader } from '@backstage/config';
import { TemplateAction } from '@backstage/plugin-scaffolder-node';
import { getOctokitOptions } from '../util';
jest.mock('./helpers', () => {
jest.mock('../util', () => {
return {
getOctokitOptions: jest.fn(),
};