2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-20 20:00:34 +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, beforeEach,
describe, describe,
expect, expect,
SpyInstance, MockInstance,
test, test,
vi vi
} from 'vitest' } from 'vitest'
@@ -134,9 +134,9 @@ describe('test init', () => {
}) })
interface HooksTestContext { interface HooksTestContext {
onMaska: SpyInstance onMaska: MockInstance
preProcess: SpyInstance preProcess: MockInstance
postProcess: SpyInstance postProcess: MockInstance
} }
describe('test hooks', () => { describe('test hooks', () => {