UNPKG

k8s-features

Version:

A Cucumber-js base library for Kubernetes Gherkin tests, with base world class, basic steps, reusable utility functions and k8s client

26 lines (22 loc) 360 B
class AbstractFileOperation { /** * * @param {string} path */ constructor(path) { if (path.startsWith('/')) { path = path.slice(1); } this.path = path; } /** * @param {string} rootDir * @returns {string[]} */ bash() { throw new Error('Abstract method'); } } module.exports = { AbstractFileOperation, };