Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgur committed Sep 29, 2024
1 parent 424d510 commit 0741e62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/sdks/vue-sdk/tests/ApplicationsPortal.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { shallowMount, mount } from '@vue/test-utils';
import UserProfile from '../src/UserProfile.vue';
import { ApplicationsPortal } from '../../react-sdk/src';
import ApplicationsPortal from '../src/ApplicationsPortal.vue';

jest.mock('../src/hooks', () => ({
useOptions: () => ({ projectId: 'project1', baseUrl: 'baseUrl' }),
Expand All @@ -23,7 +22,7 @@ describe('ApplicationsPortal.vue', () => {
});

it('renders a widget with the correct props', () => {
const wrapper = mount(UserProfile, {
const wrapper = mount(ApplicationsPortal, {
props: {
widgetId: 'widget1',
theme: 'test-theme',
Expand Down

0 comments on commit 0741e62

Please sign in to comment.