@badeball/cypress-cucumber-preprocessor
Version:
[](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml) [ • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const template_1 = require("../template");
const loader = function (data) {
const callback = this.async();
const config = this.query;
(0, template_1.compile)(config, data, this.resourcePath).then((result) => callback(null, result), (error) => callback(error));
};
exports.default = loader;