test(scaffolder): fix more existing tests
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
+1
-1
@@ -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(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user