Skip to content

Commit

Permalink
Jest: Provide CURRENT_THEME mock
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatkins0 committed Jul 3, 2020
1 parent b02822d commit a1087df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/src/setup/__mocks__/amp-setup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
APP_ROOT_ID: 'amp-setup',
CURRENT_THEME: {
name: 'Twenty Twenty',
},
EXIT_LINK: 'http://site.test/wp-admin/?page=amp-options',
OPTIONS_REST_ENDPOINT: 'http://site.test/wp-json/amp/v1/options',
READER_THEMES_REST_ENDPOINT: 'http://site.test/wp-json/amp/v1/reader-themes',
Expand Down

0 comments on commit a1087df

Please sign in to comment.