diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2018-09-28 19:26:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 19:26:05 +0200 |
commit | d520d96fee5e791cf7cea9cd5ffcbbbe4ce8d2ea (patch) | |
tree | cb79e4bfd4e00b395b3c3b0cc88fe841925d1d90 /tests | |
parent | 754ea8e03f70999a08d9ea172b423aeeb6dcc413 (diff) | |
parent | fc816f42b0c6934c00627e97f0786e8324e9218f (diff) |
Merge pull request #596 from nextcloud/vuev3.0.0-alpha1
Contacts 3.0.0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/specs/Contacts.spec.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/unit/specs/Contacts.spec.js b/tests/unit/specs/Contacts.spec.js new file mode 100644 index 00000000..d8df541f --- /dev/null +++ b/tests/unit/specs/Contacts.spec.js @@ -0,0 +1,31 @@ +/** + * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com> + * + * @author John Molakvoæ <skjnldsv@protonmail.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +import { mount } from '@vue/test-utils' +import Contacts from '@/views/Contacts.vue' + +describe('Contacts.vue', () => { + it('Test contacts view', () => { + const wrapper = mount(Contacts) + expect(wrapper.text()).toContain('Test') + }) +}) |