Skip to content

Commit 2e64e97

Browse files
committed
instrument specs on the fly
1 parent 8e7f19d commit 2e64e97

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/fullstack/cypress/integration/spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ it('uses frontend code and calls backend', () => {
1111
.invoke('sub', 2, 3)
1212
.should('equal', -1)
1313

14-
cy.log('** backend request **')
14+
cy.log('**backend request**')
1515
cy.request('/hello')
1616
})
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = (on, config) => {
22
require('../../../../task')(on, config)
3-
on('file:preprocessor', require('../../../../use-babelrc'))
3+
// instrument loaded spec files (and the application code loaded from them)
4+
on('file:preprocessor', require('../../../../use-browserify-istanbul'))
45
return config
56
}

0 commit comments

Comments
 (0)