Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/example.spec.js')
-rw-r--r--tests/unit/example.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/example.spec.js b/tests/unit/example.spec.js
index f84fb39dc..96cbce9d9 100644
--- a/tests/unit/example.spec.js
+++ b/tests/unit/example.spec.js
@@ -1,10 +1,10 @@
import { shallowMount } from '@vue/test-utils'
-import HelloWorld from '@/components/HelloWorld.vue'
+import Topbar from '../../src/components/TopBar'
describe('HelloWorld.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message'
- const wrapper = shallowMount(HelloWorld, {
+ const wrapper = shallowMount(Topbar, {
propsData: { msg }
})
expect(wrapper.text()).toMatch(msg)