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

14 lines (12 loc) 286 B
const { Then } = require('@cucumber/cucumber'); Then( 'apiVersion {word} exists', /** * @this import("../support/world.cjs").MyWorld * @param {string} apiVersion * @returns {Promise} */ async function(apiVersion) { await this.apiVersionExists(apiVersion); } );