File tree Expand file tree Collapse file tree 4 files changed +434
-2
lines changed Expand file tree Collapse file tree 4 files changed +434
-2
lines changed Original file line number Diff line number Diff line change 1+ const cypressReplay = require ( '@replayio/cypress' )
2+
13// ***********************************************************
24// This example plugins/index.js can be used to load plugins
35//
1416module . exports = ( on , config ) => {
1517 // `on` is used to hook into various events Cypress emits
1618 // `config` is the resolved Cypress config
19+ cypressReplay . default ( on , config )
20+ return config
1721}
Original file line number Diff line number Diff line change @@ -18,3 +18,5 @@ import './commands'
1818
1919// Alternatively you can use CommonJS syntax:
2020// require('./commands')
21+
22+ require ( '@replayio/cypress/support' )
Original file line number Diff line number Diff line change 2020 "@babel/core" : " ^7.8.4" ,
2121 "@babel/preset-env" : " ^7.8.4" ,
2222 "@babel/preset-react" : " ^7.8.3" ,
23+ "@replayio/cypress" : " ^0.4.6" ,
2324 "@testing-library/react" : " ^10.0.2" ,
2425 "cypress" : " ^4.3.0" ,
2526 "husky" : " ^4.2.1" ,
You can’t perform that action at this time.
0 commit comments