@jscutlery/cypress-angular-preprocessor
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

Cypress Angular Preprocessor

Deprecated: Cypress >= 7 requires the new adapter @jscutlery/cypress-angular-dev-server to build Angular components.

This is a Cypress preprocessor adapter of Angular's webpack plugin. It is used to build components in Cypress to be used in combination with @jscutlery/cypress-mount in order to build Angular components.

It can be enabled by adding the configuration below to the *-e2e/src/plugins/index.js file:

const {
  angularPreprocessor,
} = require('@jscutlery/cypress-angular-preprocessor');

module.exports = (on, config) => {
  on('file:preprocessor', angularPreprocessor(config));
};

/@jscutlery/cypress-angular-preprocessor/

    Package Sidebar

    Install

    npm i @jscutlery/cypress-angular-preprocessor

    Weekly Downloads

    1

    Version

    0.5.0

    License

    none

    Unpacked Size

    9.05 kB

    Total Files

    9

    Last publish

    Collaborators

    • yjaaidi
    • koalaa