Skip to content

Commit

Permalink
Fix: Passing async functions to describe (#14998)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Apr 16, 2019
1 parent 5d14c98 commit b496ebc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import fetchAllMiddleware from '../fetch-all-middleware';

describe( 'Fetch All Middleware', async () => {
describe( 'Fetch All Middleware', () => {
it( 'should defer with the same options to the next middleware', async () => {
expect.hasAssertions();
const originalOptions = { path: '/posts' };
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/blocks/quote.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe( 'Quote', () => {
expect( await getEditedPostContent() ).toMatchSnapshot();
} );

describe( 'can be converted to paragraphs', async () => {
describe( 'can be converted to paragraphs', () => {
it( 'and renders one paragraph block per <p> within quote', async () => {
await insertBlock( 'Quote' );
await page.keyboard.type( 'one' );
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/preview.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ describe( 'Preview', () => {
} );
} );

describe( 'Preview with Custom Fields enabled', async () => {
describe( 'Preview with Custom Fields enabled', () => {
beforeEach( async () => {
await createNewPost();
await toggleCustomFieldsOption( true );
Expand Down

0 comments on commit b496ebc

Please sign in to comment.