This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/ui/dockerfile-path-select/dockerfile-path-select.component.spec.ts

59 lines
1.2 KiB
TypeScript
Raw Normal View History

import { DockerfilePathSelectComponent } from './dockerfile-path-select.component';
describe("DockerfilePathSelectComponent", () => {
var component: DockerfilePathSelectComponent;
var currentPath: string;
var isValidPath: boolean;
var paths: string[];
var supportsFullListing: boolean;
beforeEach(() => {
component = new DockerfilePathSelectComponent();
});
describe("$onChanges", () => {
it("sets valid path flag to true if current path is valid", () => {
});
it("sets valid path flag to false if current path is invalid", () => {
});
});
describe("setPath", () => {
it("sets current path to given path", () => {
});
it("sets selected path to null", () => {
});
it("sets valid path flag to true if given path is valid", () => {
});
it("sets valid path flag to false if given path is invalid", () => {
});
});
describe("setCurrentPath", () => {
it("sets current path and selected path to given path", () => {
});
it("sets valid path flag to true if given path is valid", () => {
});
it("sets valid path flag to false if given path is invalid", () => {
});
});
});