Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspect: New method to preview a snapshot of rendered HTML in browser #10

Merged
merged 17 commits into from May 15, 2019
2 changes: 1 addition & 1 deletion docs/api/mock-promises.md
Expand Up @@ -259,7 +259,7 @@ test('My multi-promise test', () => {
}

// Make all of the following promises `.reject()`
cy.forceAllPromisesToResolve(reject)
cy.forceAllPromisesToReject(reject)

cy.render(<FetchedComponent />)

Expand Down
2 changes: 2 additions & 0 deletions jest.config.js
Expand Up @@ -6,5 +6,7 @@ module.exports = Object.assign(jestConfig, {
'!src/polyfills/**/*.{js,jsx,ts,tsx}',
'!src/promises/mocks/**/*.{js,jsx,ts,tsx}',
'!src/mocks/**/*.{js,jsx,ts,tsx}',
'!src/inspector/**/*.{js,ts}',
'!src/utils/css.utils.{js,ts}',
],
})