"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stacktraceHook = void 0;
const utils_1 = require("./utils");
exports.stacktraceHook = async (testContext) => {
    const stepCodeLocation = utils_1.extractCodeLocationDetailsSync(testContext.testFilePath, process.cwd());
    const metadata = {
        stepCodeLocation,
    };
    testContext.addStepMetadata(metadata);
};
