ray-template/__test__/vue/effectDispose.spec.ts
2024-04-13 15:24:51 +08:00

8 lines
221 B
TypeScript

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