Skip to content

Commit 2f06556

Browse files
committed
Reinstate assertion that now works once more
...What was PPP again?
1 parent 6cae2fa commit 2f06556

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/integration/posts.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,8 @@ describe.each( [
177177

178178
.then( ( posts ) => {
179179
expect( Array.isArray( posts ) ).toBe( true );
180-
// @TODO: re-enable once PPP support is merged
181-
// expect( posts.length ).toBe( 10 );
182-
// expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
180+
expect( posts.length ).toBe( 10 );
181+
expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
183182
return SUCCESS;
184183
} );
185184
return expect( prom ).resolves.toBe( SUCCESS );
@@ -221,8 +220,7 @@ describe.each( [
221220
.page( 2 )
222221
.get()
223222
.then( ( posts ) => {
224-
// @TODO: re-enable once PPP support is merged
225-
// expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
223+
expect( getTitles( posts ) ).toEqual( expectedResults.titles.page2 );
226224
return posts._paging.prev
227225
.get()
228226
.then( ( posts ) => {

0 commit comments

Comments
 (0)