From 27352eaf153eac4411324b58e9ded0e664ca81f5 Mon Sep 17 00:00:00 2001 From: alexandre Date: Tue, 18 Apr 2023 14:46:57 +0200 Subject: [PATCH] refs #5357 mocked route.params.id --- test/vitest/__tests__/components/common/VnLog.spec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/vitest/__tests__/components/common/VnLog.spec.js b/test/vitest/__tests__/components/common/VnLog.spec.js index 8dc511e3f..5d793e0ac 100644 --- a/test/vitest/__tests__/components/common/VnLog.spec.js +++ b/test/vitest/__tests__/components/common/VnLog.spec.js @@ -10,6 +10,11 @@ describe('VnLog', () => { model: "Claim", }, }).vm; + vm.route = { + params: { + id: 1 + } + } }); afterEach(() => {