koel/cypress/plugins/index.ts

17 lines
606 B
TypeScript
Raw Normal View History

2020-12-30 00:30:32 +00:00
/// <reference types="cypress" />
2019-04-14 15:01:36 +00:00
// ***********************************************************
// 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> => {
2020-12-30 00:30:32 +00:00
return Object.assign({}, config, {
supportFile: 'cypress/support/index.ts'
})
2019-04-14 15:01:36 +00:00
}