Skip to content

Commit

Permalink
Adds style engine tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Jun 26, 2023
1 parent 277a2ca commit b19ff11
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Empty file.
13 changes: 13 additions & 0 deletions tests/phpunit/tests/style-engine/styleEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,19 @@ public function data_wp_style_engine_get_styles() {
),
),

'inline_valid_shadow_style' => array(
'block_styles' => array(
'shadow' => 'inset 5em 1em gold',
),
'options' => null,
'expected_output' => array(
'css' => 'box-shadow:inset 5em 1em gold;',
'declarations' => array(
'box-shadow' => 'inset 5em 1em gold',
),
),
),

'inline_valid_typography_style' => array(
'block_styles' => array(
'typography' => array(
Expand Down

0 comments on commit b19ff11

Please sign in to comment.