Skip to content

Commit ac229bd

Browse files
committed
Mock memoize
1 parent 5f238b7 commit ac229bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/src/info/__tests__/index.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import * as exec from '@actions/exec';
22
import { describe, expect, it, vi } from 'vitest';
33
import { checkForChanges } from '../index.js';
44

5+
vi.mock(import('lodash/memoize.js'), () => ({
6+
default: (x: any) => x
7+
}) as any);
8+
59
const mockedExecOutput = vi.spyOn(exec, 'getExecOutput');
610

711
describe('Test checkForChanges', () => {

0 commit comments

Comments
 (0)