Skip to content

Commit

Permalink
Corrected type error with wrapperVm in ToggleJson
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
  • Loading branch information
Gavinok committed Dec 11, 2023
1 parent 868c4cb commit 8ccf13e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Properly Toggle Json Input', () => {
});
test('text area is only shown after input is toggled', async () => {
const wrapper = mountToggleJson();
const wrapperVm = wrapper.vm as unknown as typeof ToggleJson;
const wrapperVm = wrapper.vm as any;
const toJson = vi.spyOn(wrapperVm.props, 'toJson');
const fromJson = vi.spyOn(wrapperVm.props, 'fromJson');

Expand Down

0 comments on commit 8ccf13e

Please sign in to comment.