-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Suzanne Rozier
committed
Sep 30, 2020
1 parent
185dd6f
commit d9b26b7
Showing
5 changed files
with
243 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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', | ||
}), | ||
}, | ||
plugins: [ | ||
happoPluginStorybook({ | ||
outputDir: 'storybook-static', | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.