We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546e541 commit 99c6ea6Copy full SHA for 99c6ea6
1 file changed
src/tests/components/RightSidebar/SignTab.spec.ts
@@ -178,15 +178,15 @@ describe('SignTab', () => {
178
expect(wrapper.vm.getSignRequestUuid()).toBe('signer-uuid')
179
})
180
181
- it('uses the file uuid for approver routes', async () => {
+ it('prefers signer uuid even when approver flag is true', async () => {
182
signStore.document = createDocument({
183
uuid: 'approver-file-uuid',
184
settings: { isApprover: true },
185
signers: [{ me: true, sign_request_uuid: 'signer-uuid' }],
186
187
wrapper = await createWrapper()
188
189
- expect(wrapper.vm.getSignRequestUuid()).toBe('approver-file-uuid')
+ expect(wrapper.vm.getSignRequestUuid()).toBe('signer-uuid')
190
191
192
it('does not fall back to a non-current signer', async () => {
0 commit comments