Ringtone app
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

3 anos atrás
3 anos atrás
3 anos atrás
123456789101112131415161718192021222324252627
  1. /// <reference types="cypress" />
  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. import dotenvPlugin = require('cypress-dotenv')
  14. /**
  15. * @type {Cypress.PluginConfig}
  16. */
  17. // eslint-disable-next-line no-unused-vars
  18. export default (on, config) => {
  19. // `on` is used to hook into various events Cypress emits
  20. // `config` is the resolved Cypress config
  21. config = dotenvPlugin(config)
  22. return config
  23. }