mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(project): adding cypress into element plus - Introduce Cypress to Element Plus - Add Action config for running Cypress automatically after workflow for build website done - Add a base case for button.spec.ts - Add cypress recordings and screenshots to gitignore - Add Cypress into tsconfig.json for global typing intelligence - Add scripts for running cypress * - Update cpress.yml syntax error * - Remove cypress from jest running collector
24 lines
818 B
JavaScript
24 lines
818 B
JavaScript
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
/// <reference types="cypress" />
|
|
// ***********************************************************
|
|
// This example plugins/index.js can be used to load plugins
|
|
//
|
|
// You can change the location of this file or turn off loading
|
|
// the plugins file with the 'pluginsFile' configuration option.
|
|
//
|
|
// You can read more here:
|
|
// https://on.cypress.io/plugins-guide
|
|
// ***********************************************************
|
|
|
|
// This function is called when a project is opened or re-opened (e.g. due to
|
|
// the project's config changing)
|
|
|
|
/**
|
|
* @type {Cypress.PluginConfig}
|
|
*/
|
|
// eslint-disable-next-line no-unused-vars
|
|
module.exports = (_on, _config) => {
|
|
// `on` is used to hook into various events Cypress emits
|
|
// `config` is the resolved Cypress config
|
|
}
|