Skip to content

Commit

Permalink
chore: add fake user agent for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh David Miller authored and goshacmd committed Sep 28, 2016
1 parent 1b1c683 commit ee60fde
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conf/specs.js
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
global.STORYSHOP_API_URI = 'http://nonexistent';
global.STORYSHOP_API_URI = 'http://nonexistent';
global.window = {
navigator: {
userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36',
}
};

0 comments on commit ee60fde

Please sign in to comment.