Skip to content

Commit

Permalink
Testing: Stub wp.shortcode.regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Mar 20, 2018
1 parent ff19c2a commit 2ec86c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/setup-wp-aliases.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Set up `wp.*` aliases. Handled by Webpack outside of the test build.
global.wp = {
shortcode: {
next: () => {},
next() {},
regexp() {},
},
};

Expand Down

0 comments on commit 2ec86c3

Please sign in to comment.