Skip to content

Commit aed40f9

Browse files
committed
update core import in tests
1 parent 6f1b698 commit aed40f9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {describe, it, expect, vi} from 'vitest'
2-
import core from '@actions/core'
2+
import * as core from '@actions/core'
33
import {findForUrl} from '../src/findForUrl.js'
44
import {AxeBuilder} from '@axe-core/playwright'
55
import axe from 'axe-core'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {describe, it, expect, vi, beforeEach} from 'vitest'
33
import * as fs from 'fs'
44
import * as dynamicImportModule from '../src/dynamicImport.js'
55
import * as pluginManager from '../src/pluginManager.js'
6-
import core from '@actions/core'
6+
import * as core from '@actions/core'
77

88
// - enable spying on fs
99
// https://vitest.dev/guide/browser/#limitations

0 commit comments

Comments
 (0)