Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index.js 726 B

12345678910111213141516171819
  1. const startOAuthServer = require("../helpers/oauth2-server")
  2. // ***********************************************************
  3. // This example plugins/index.js can be used to load plugins
  4. //
  5. // You can change the location of this file or turn off loading
  6. // the plugins file with the 'pluginsFile' configuration option.
  7. //
  8. // You can read more here:
  9. // https://on.cypress.io/plugins-guide
  10. // ***********************************************************
  11. // This function is called when a project is opened or re-opened (e.g. due to
  12. // the project's config changing)
  13. module.exports = (on, config) => {
  14. startOAuthServer()
  15. // `on` is used to hook into various events Cypress emits
  16. // `config` is the resolved Cypress config
  17. }