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

15 lines (13 loc) 323 B
const { Then } = require('@cucumber/cucumber'); Then( 'kind {word} of {word} exists', /** * @this import("../support/world.cjs").MyWorld * @param {string} kind * @param {string} apiVersion * @returns {Promise} */ async function(kind, apiVersion) { await this.kindExists(kind, apiVersion); }, );