{"size": 520, "ext": "js", "max_stars_repo_path": "src/Resources/app/administration/test/e2e/cypress/plugins/index.js", "max_stars_repo_name": "shopware/swag-docs-plugin-conf", "max_stars_repo_stars_event_min_datetime": "2021-02-09T20:56:33.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-09T20:56:33.000Z", "max_issues_repo_path": "src/Resources/app/administration/test/e2e/cypress/plugins/index.js", "max_issues_repo_name": "shopware/swag-docs-plugin-conf", "max_issues_repo_issues_event_min_datetime": "2020-01-16T15:23:46.000Z", "max_issues_repo_issues_event_max_datetime": "2020-02-17T12:44:55.000Z", "max_forks_repo_path": "src/Resources/app/administration/test/e2e/cypress/plugins/index.js", "max_forks_repo_name": "shopware/swag-docs-plugin-conf", "max_forks_repo_forks_event_min_datetime": "2019-11-13T08:32:20.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-15T12:39:29.000Z"}
{"max_stars_count": 1, "max_issues_count": 2, "max_forks_count": 2, "avg_line_length": 40.0, "max_line_length": 100, "alphanum_fraction": 0.7269230769}
// The e2e-testsuite-pllatform version is not compatible with 4.0.0 yet so we comment it out for now
// module.exports = require('@shopware-ag/e2e-testsuite-platform/cypress/plugins');

require('@babel/register');
const selectTestsWithGrep = require('cypress-select-tests/grep');
const semver = require('semver');

module.exports = (on, config) => {
    // `on` is used to hook into various events Cypress emits
    // `config` is the resolved Cypress config
    on('file:preprocessor', selectTestsWithGrep(config));
};
