remove unused tests
This commit is contained in:
@@ -4,9 +4,7 @@ import { UmbServerPathUniqueSerializer } from './server-path-unique-serializer.j
|
||||
describe('UmbServerPathUniqueSerializer', () => {
|
||||
let serializer: UmbServerPathUniqueSerializer;
|
||||
const serverPath = 'Folder A/Folder AA/some-Filename-WithCasing_underscore.js';
|
||||
|
||||
const expectedUnique = 'Folder%20A%2FFolder%20AA%2Fsome-Filename-WithCasing_underscore%25dot%25js';
|
||||
const expectedParentUnique = 'Folder%20A%2FFolder%20AA';
|
||||
|
||||
beforeEach(() => {
|
||||
serializer = new UmbServerPathUniqueSerializer();
|
||||
@@ -34,16 +32,6 @@ describe('UmbServerPathUniqueSerializer', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('toParentUnique', () => {
|
||||
it('converts a server path to a URL friendly parent unique', () => {
|
||||
expect(serializer.toParentUnique(serverPath)).to.equal(expectedParentUnique);
|
||||
});
|
||||
|
||||
it('returns null if the server path is the root', () => {
|
||||
expect(serializer.toParentUnique('')).to.be.null;
|
||||
});
|
||||
});
|
||||
|
||||
describe('toServerPath', () => {
|
||||
it('converts a URL friendly unique to a server path', () => {
|
||||
expect(serializer.toServerPath(expectedUnique)).to.equal(serverPath);
|
||||
|
||||
Reference in New Issue
Block a user