From 2ec86c3f9e1221bac030483a0e1884d8fcb974fd Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 19 Mar 2018 21:22:42 -0400 Subject: [PATCH] Testing: Stub wp.shortcode.regexp --- test/unit/setup-wp-aliases.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/setup-wp-aliases.js b/test/unit/setup-wp-aliases.js index a5482b8acbf9b..1d568a4cfb856 100644 --- a/test/unit/setup-wp-aliases.js +++ b/test/unit/setup-wp-aliases.js @@ -1,7 +1,8 @@ // Set up `wp.*` aliases. Handled by Webpack outside of the test build. global.wp = { shortcode: { - next: () => {}, + next() {}, + regexp() {}, }, };