I move!
+``` + ## API ## Related diff --git a/__tests__/index.spec.ts b/__tests__/index.spec.ts index 9ef4be7..4f8b4d4 100644 --- a/__tests__/index.spec.ts +++ b/__tests__/index.spec.ts @@ -1,19 +1,8 @@ -import { mylib, ComponentImpl } from '../src' -import { mount } from '@vue/test-utils' +// import { useSpring } from '../src' +// import { mount } from '@vue/test-utils' -describe('mylib', () => { +describe('useSpring', () => { it('works', () => { - expect(mylib()).toBe(true) - }) -}) - -describe('Component', () => { - it('works', async () => { - const wrapper = mount(ComponentImpl, { - props: { data: { title: 'hi', summary: 'summary' } }, - }) - expect(wrapper.html()).toMatchInlineSnapshot( - `"Custom: false. hi - summary.
"` - ) + expect(true).toBe(true) }) }) diff --git a/demo/src/App.vue b/demo/src/App.vue index 16daf98..d05e38c 100644 --- a/demo/src/App.vue +++ b/demo/src/App.vue @@ -1,27 +1,12 @@ -