Skip to content

Commit e502a80

Browse files
committed
make core spyable
1 parent aed40f9 commit e502a80

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/actions/find/tests/pluginManager.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import * as core from '@actions/core'
99
// https://vitest.dev/guide/browser/#limitations
1010
vi.mock('fs', {spy: true})
1111
vi.mock('../src/pluginManager.js', {spy: true})
12+
vi.mock('@actions/core', {spy: true})
1213

1314
describe('loadPlugins', () => {
1415
vi.spyOn(dynamicImportModule, 'dynamicImport').mockImplementation(path => Promise.resolve(path))

0 commit comments

Comments
 (0)