7 lines
147 B
JavaScript

const path = require("path");
module.exports = {
getStepDefinitionPathsFrom: (filePath) =>
filePath.replace(path.extname(filePath), ""),
};