2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-05 16:42:28 +03:00

test: change SpyInstance to MockInstance

This commit is contained in:
Alexander Shabunevich
2024-04-17 22:32:40 +03:00
parent 0123433573
commit 29d9a24f35
+4 -4
View File
@@ -4,7 +4,7 @@ import {
beforeEach,
describe,
expect,
SpyInstance,
MockInstance,
test,
vi
} from 'vitest'
@@ -134,9 +134,9 @@ describe('test init', () => {
})
interface HooksTestContext {
onMaska: SpyInstance
preProcess: SpyInstance
postProcess: SpyInstance
onMaska: MockInstance
preProcess: MockInstance
postProcess: MockInstance
}
describe('test hooks', () => {