forked from transcom/mymove
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.happo.js
29 lines (27 loc) · 769 Bytes
/
.happo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const { RemoteBrowserTarget } = require('happo.io');
const happoPluginStorybook = require('happo-plugin-storybook');
require('dotenv').config();
module.exports = {
apiKey: process.env.HAPPO_API_KEY,
apiSecret: process.env.HAPPO_API_SECRET,
targets: {
chrome: new RemoteBrowserTarget('chrome', {
viewport: '1024x768',
}),
// TODO - IE is failing because Storybook causes syntax error. Need to investigate
/*
'internet explorer': new RemoteBrowserTarget('internet explorer', {
viewport: '1024x768',
}),
*/
'ios-safari': new RemoteBrowserTarget('ios-safari', {
viewport: '375x667',
scrollStitch: true,
}),
},
plugins: [
happoPluginStorybook({
outputDir: 'storybook-static',
}),
],
};