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