Skip to content

Commit

Permalink
Reinstate assertion that now works once more
Browse files Browse the repository at this point in the history
...What was PPP again?
  • Loading branch information
kadamwhite committed Oct 20, 2019
1 parent 6cae2fa commit 2f06556
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/integration/posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ describe.each( [

.then( ( posts ) => {
expect( Array.isArray( posts ) ).toBe( true );
// @TODO: re-enable once PPP support is merged
// expect( posts.length ).toBe( 10 );
// expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
expect( posts.length ).toBe( 10 );
expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
return SUCCESS;
} );
return expect( prom ).resolves.toBe( SUCCESS );
Expand Down Expand Up @@ -221,8 +220,7 @@ describe.each( [
.page( 2 )
.get()
.then( ( posts ) => {
// @TODO: re-enable once PPP support is merged
// expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
return posts._paging.prev
.get()
.then( ( posts ) => {
Expand Down

0 comments on commit 2f06556

Please sign in to comment.