Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure new tests have assertions
  • Loading branch information
nicolasiensen committed Oct 29, 2017
commit 7c7069cb2fc39f93e679a3f7ef5dfec201943e11
3 changes: 3 additions & 0 deletions packages/pretty-format/src/__tests__/pretty_format.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ describe('prettyFormat()', () => {
});

it('throws PrettyFormatPluginError if test throws an error', () => {
expect.hasAssertions();
const options = {
plugins: [
{
Expand All @@ -569,6 +570,7 @@ describe('prettyFormat()', () => {
});

it('throws PrettyFormatPluginError if print throws an error', () => {
expect.hasAssertions();
const options = {
plugins: [
{
Expand All @@ -588,6 +590,7 @@ describe('prettyFormat()', () => {
});

it('throws PrettyFormatPluginError if serialize throws an error', () => {
expect.hasAssertions();
const options = {
plugins: [
{
Expand Down