projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19079: Don't use collection specific url processing for search result clipboard actions
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
actions
/
helpers.test.ts
diff --git
a/src/views-components/context-menu/actions/helpers.test.ts
b/src/views-components/context-menu/actions/helpers.test.ts
index b3b7f7f8dab5208cf05047d3322061e4a44d2fa6..7776d0e5aacdf976fe081ef9cbb964dd44e04b31 100644
(file)
--- a/
src/views-components/context-menu/actions/helpers.test.ts
+++ b/
src/views-components/context-menu/actions/helpers.test.ts
@@
-2,7
+2,7
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { sanitizeToken, getClipboardUrl, getInlineFileUrl } from "./helpers";
+import { sanitizeToken, getC
ollectionItemC
lipboardUrl, getInlineFileUrl } from "./helpers";
describe('helpers', () => {
// given
describe('helpers', () => {
// given
@@
-22,7
+22,7
@@
describe('helpers', () => {
describe('getClipboardUrl', () => {
it('should add redirectTo query param', () => {
// when
describe('getClipboardUrl', () => {
it('should add redirectTo query param', () => {
// when
- const result = getClipboardUrl(url);
+ const result = getC
ollectionItemC
lipboardUrl(url);
// then
expect(result).toBe('http://localhost?redirectToDownload=https://example.com/c=zzzzz-4zz18-0123456789abcde/LIMS/1.html');
// then
expect(result).toBe('http://localhost?redirectToDownload=https://example.com/c=zzzzz-4zz18-0123456789abcde/LIMS/1.html');