forked from trussworks/react-uswds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.happo.js
30 lines (28 loc) · 844 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
30
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',
}),
firefox: new RemoteBrowserTarget('firefox', {
viewport: '1024x768',
}),
edge: new RemoteBrowserTarget('edge', {
viewport: '1024x768',
}),
safari: new RemoteBrowserTarget('safari', {
viewport: '1024x768',
}),
'ios-safari': new RemoteBrowserTarget('ios-safari', {
viewport: '375x667',
}),
},
plugins: [
// see https://github.com/happo/happo-plugin-storybook for a list of options you can pass to the plugin
happoPluginStorybook(),
],
}