Skip to content

Commit

Permalink
test(url_for): initialize config
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Nov 28, 2019
1 parent acee341 commit 8ecb782
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/scripts/helpers/url_for.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

describe('url_for', () => {
const ctx = {
config: {},
config: {
url: 'http://example.com'
},
relative_url: require('../../../lib/plugins/helper/relative_url')
};

Expand Down

0 comments on commit 8ecb782

Please sign in to comment.