1.7.18 • Published 2 years ago

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

Weekly downloads
-
License
-
Repository
github
Last release
2 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

2 years ago

1.7.17

2 years ago

1.7.18

2 years ago

1.7.11

2 years ago

1.7.12

2 years ago

1.7.13

2 years ago

1.7.10

2 years ago

1.7.9

2 years ago

1.7.8

2 years ago

1.7.7

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.0

3 years ago