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 (23 loc) 531 B
const { When } = require('@cucumber/cucumber'); When( 'resource {word} does not exist', /** * @this import("../support/world.cjs").MyWorld * @param {string} alias * @returns {Promise} */ async function (alias) { this.resourceDoesNotExist(alias); } ); When( 'eventually resource {word} does not exist', /** * @this import("../support/world.cjs").MyWorld * @param {string} alias * @returns {Promise} */ async function (alias) { await this.eventuallyResourceDoesNotExist(alias); } );