@testplane/storybook
Version:
Testplane plugin that enables runtime screenshot storybook tests autogeneration
11 lines • 544 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractStoriesV4 = exports.storybookDataJsonPathV4 = exports.supportedStoryVersionV4 = void 0;
const constants_1 = require("../../../constants");
exports.supportedStoryVersionV4 = 4;
exports.storybookDataJsonPathV4 = constants_1.STORYBOOK_INDEX_JSON_PATH;
const extractStoriesV4 = (dataJson) => {
return Object.values(dataJson.entries).filter(entry => entry.type === "story");
};
exports.extractStoriesV4 = extractStoriesV4;
//# sourceMappingURL=v4.js.map