editor.js/test/cypress/plugins/index.ts
Taly aafab1d395
Use Vite builder (#2300)
* vite builder initial

* save

* add displayName

* add paragraph from npm

* fix postcss apply

* remove some packages, fix tests

* Update cypress.yml

* remove logs

* remove unused packages

* update path to image

* update

* Update index.html

* Update cypress.yml

* Update cypress.yml

* Update cypress.yml

* remove displayName field

* update names

* Update index.ts

* Update index.ts

* update packages

* remove packages

* postcss preserve: true

* Update index.html

* Update editor-modules.d.ts

* use public dir for static

* Update vite.config.js

* update modules type

* Update CHANGELOG.md
2023-04-13 22:25:29 +03:00

16 lines
369 B
TypeScript

/**
* This file contains connection of Cypres plugins
*/
import * as codeCoverageTask from '@cypress/code-coverage/task';
module.exports = (on, config): unknown => {
/**
* Add Cypress task to get code coverage
*/
codeCoverageTask(on, config);
// It's IMPORTANT to return the config object
// with any changed environment variables
return config;
};