ray-template/__test__/vue/effectDispose.spec.ts
2024-03-23 11:25:28 +08:00

8 lines
220 B
TypeScript

import { effectDispose } from '../../src/utils/vue/effectDispose'
describe('effectDispose', () => {
it('should return false if getCurrentScope is null', () => {
expect(effectDispose(() => {})).toBe(false)
})
})