File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ function test_pug_instance_options_with_wp_debug_false() {
43
43
'strict ' => true ,
44
44
'debug ' => false ,
45
45
'enable_profiler ' => false ,
46
- 'error_reporting ' => E_ERROR | E_USER_ERROR
46
+ 'error_reporting ' => E_ERROR | E_USER_ERROR ,
47
+ 'keep_base_name ' => true ,
48
+ 'paths ' => [Wordless::theme_views_path ()],
49
+ 'mixin_keyword ' => ['mixin ' ,'component ' ],
47
50
),
48
51
WordlessPugOptions::get_options ()
49
52
);
@@ -60,7 +63,10 @@ function test_pug_instance_options_with_wp_debug_true() {
60
63
'strict ' => true ,
61
64
'debug ' => true ,
62
65
'enable_profiler ' => false ,
63
- 'error_reporting ' => E_ERROR | E_USER_ERROR
66
+ 'error_reporting ' => E_ERROR | E_USER_ERROR ,
67
+ 'keep_base_name ' => true ,
68
+ 'paths ' => [Wordless::theme_views_path ()],
69
+ 'mixin_keyword ' => ['mixin ' ,'component ' ],
64
70
),
65
71
WordlessPugOptions::get_options ()
66
72
);
You can’t perform that action at this time.
0 commit comments