1.7.18 • Published 3 years ago

@jscutlery/cypress-angular-dev-server v1.7.18

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Cypress Angular Dev Server

This is an internal package used by @jscutlery/cypress-angular.

It is a helper for starting a Cypress 7+ dev server for Angular. It is used to build components in Cypress to be used in combination with @jscutlery/cypress-mount.

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

import { startAngularDevServer } from '@jscutlery/cypress-angular-dev-server';

module.exports = (on, config) => {
  on('dev-server:start', (options) =>
    startAngularDevServer({ options, tsConfig: 'tsconfig.cypress.json' })
  );
  return config;
};

Custom Webpack configuration

It's possible to pass a custom Webpack configuration that will be merged with the Angular CLI configuration.

import { startAngularDevServer } from '@jscutlery/cypress-angular-dev-server';

module.exports = (on, config) => {
  on('dev-server:start', (options) =>
    startAngularDevServer({
      options,
      webpackConfig: { node: { global: true } },
    })
  );
  return config;
};
1.7.16

3 years ago

1.7.17

3 years ago

1.7.18

3 years ago

1.7.11

3 years ago

1.7.12

3 years ago

1.7.13

3 years ago

1.7.10

3 years ago

1.7.9

3 years ago

1.7.8

3 years ago

1.7.7

3 years ago

1.7.6

3 years ago

1.7.5

3 years ago

1.7.4

3 years ago

1.7.3

3 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.3

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago