Skip to content

Commit

Permalink
E2E Tests: Generate Post Date block fixtures.
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras committed Jan 14, 2020
1 parent 33e8082 commit 31bfb51
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/e2e-tests/fixtures/blocks/core__post-date.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:post-date /-->
10 changes: 10 additions & 0 deletions packages/e2e-tests/fixtures/blocks/core__post-date.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"clientId": "_clientId_0",
"name": "core/post-date",
"isValid": true,
"attributes": {},
"innerBlocks": [],
"originalContent": ""
}
]
18 changes: 18 additions & 0 deletions packages/e2e-tests/fixtures/blocks/core__post-date.parsed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"blockName": "core/post-date",
"attrs": {},
"innerBlocks": [],
"innerHTML": "",
"innerContent": []
},
{
"blockName": null,
"attrs": {},
"innerBlocks": [],
"innerHTML": "\n",
"innerContent": [
"\n"
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:post-date /-->

0 comments on commit 31bfb51

Please sign in to comment.