koel/cypress/plugins/index.ts
2021-01-03 19:50:55 +01:00

16 lines
606 B
TypeScript

/// <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
// ***********************************************************
export default (on: () => void, config: Record<string, unknown>): Record<string, unknown> => {
return Object.assign({}, config, {
supportFile: 'cypress/support/index.ts'
})
}