Skip to content

Commit c451d71

Browse files
authored
[Vue] Remove unnecessary 'as any' (#31990)
1 parent 48e9c98 commit c451d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generators/vue/templates/src/main/webapp/app/account/activate/activate.component.spec.ts.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('Activate Component', () => {
5656
it('should display error when activation fails', async () => {
5757
axiosStub.get.rejects({});
5858

59-
const wrapper = shallowMount(Activate as any, mountOptions);
59+
const wrapper = shallowMount(Activate, mountOptions);
6060
activate = wrapper.vm;
6161
await activate.$nextTick();
6262

@@ -67,7 +67,7 @@ describe('Activate Component', () => {
6767
it('should display success when activation succeeds', async () => {
6868
axiosStub.get.resolves({});
6969

70-
const wrapper = shallowMount(Activate as any, mountOptions);
70+
const wrapper = shallowMount(Activate, mountOptions);
7171
activate = wrapper.vm;
7272
await activate.$nextTick();
7373

0 commit comments

Comments
 (0)