From b159a895be8347125832eee16c6ae9a122ed5339 Mon Sep 17 00:00:00 2001 From: Nick Satterly Date: Wed, 10 Apr 2024 13:34:08 +0200 Subject: [PATCH] test user list --- tests/unit/components/UserList.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/unit/components/UserList.spec.ts diff --git a/tests/unit/components/UserList.spec.ts b/tests/unit/components/UserList.spec.ts new file mode 100644 index 00000000..6f294930 --- /dev/null +++ b/tests/unit/components/UserList.spec.ts @@ -0,0 +1,9 @@ +import { shallowMount } from '@vue/test-utils' +import UserList from '@/components/UserList.vue' + +describe('UserList', () => { + it('renders a div', () => { + const wrapper = shallowMount(UserList) + expect(wrapper.contains('div')).toBe(true) + }) +})