1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { CollectionFile } from '~/models/collection-file';
6 import { getFileFullPath } from './collection-service-files-response';
8 describe('collection-service-files-response', () => {
9 describe('getFileFullPath', () => {
10 it('should encode weird names', async () => {
14 path: 'http://localhost',
18 const result = getFileFullPath(file);
21 expect(result).toBe('http://localhost/#test');