UNPKG

@badeball/cypress-cucumber-preprocessor

Version:

[![Build status](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml/badge.svg)](https://github.com/badeball/cypress-cucumber-preprocessor/actions/workflows/build.yml) [![Npm package weekly downloads](https://badgen.net/n

9 lines (8 loc) 352 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const template_1 = require("../template"); const loader = function (data) { const callback = this.async(); (0, template_1.compile)(this.query, data, this.resourcePath).then((result) => callback(null, result), (error) => callback(error)); }; exports.default = loader;