Skip to content

Commit

Permalink
Bump to 3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemat committed Sep 8, 2024
1 parent a14eeac commit 01d9e1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions jest/tests/api/wpapi.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe( 'Testing wpapi', () => {
restoreRootURL();
} );

it( 'Test for retrieval', async() => {
it( 'Test for retrieval', async () => {
setRootURL( 'https://onpointplugins.com/wp-json' );
const posts = await wp.posts().get( {
per_page: 1,
Expand All @@ -30,11 +30,11 @@ describe( 'Testing wpapi', () => {

setRootURL( 'http://starting-point.loc/wp-json/' );
response = await wp.posts().getWithPagination();
expect( response.totalPages ).toBe( 3 );
expect( response.totalPages ).toBe( 2 );
expect( response.items.length ).toBeGreaterThan( 1 );
} );

it( 'Test for fields and embed', async() => {
it( 'Test for fields and embed', async () => {
setRootURL( 'https://onpointplugins.com/wp-json' );
let posts = await wp.posts().get( {
per_page: 1,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lipemat/js-boilerplate-gutenberg",
"version": "3.4.2",
"version": "3.4.3",
"description": "Gutenberg extension for @lipemat/js-boilerplate.",
"engines": {
"node": ">=20.11.0"
Expand Down

0 comments on commit 01d9e1b

Please sign in to comment.