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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user