Skip to content

Commit 0e119b1

Browse files
author
Bruno Poeta
committed
Updating test config
1 parent 1cd3684 commit 0e119b1

File tree

64 files changed

+13
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+13
-7
lines changed
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

integration/tests/alert.test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
const test = require('@fabula/core/tests/components/alert.test');
2-
3-
test('8008');
1+
require('@fabula/core/tests/components/alert.test');

jest-puppeteer.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
launch: {
3+
headless: false,
4+
},
5+
browser: 'chromium',
6+
browserContext: 'default',
7+
}

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
"test": "react-scripts test",
2121
"eject": "react-scripts eject",
2222
"jest:integration": "jest -c integration/jest.config.js",
23-
"test:integration": "start-server-and-test storybook http-get://localhost:9009 jest:integration",
24-
"test:integration:update": "start-server-and-test storybook http-get://localhost:9009 jest:integration -- -u",
25-
"storybook": "start-storybook -p 9009 -s public",
23+
"test:integration": "PORT=9009 start-server-and-test storybook:ci http-get://localhost:9009 jest:integration",
24+
"test:integration:update": "PORT=9009 start-server-and-test storybook:ci http-get://localhost:9009 jest:integration -- -u",
25+
"storybook": "start-storybook -p 9009 -s public --ci",
26+
"storybook:ci": "start-storybook -p 9009 -s public --ci",
2627
"build-storybook": "build-storybook -s public"
2728
},
2829
"eslintConfig": {

src/stories/Alert.stories.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export const Icons = () => (
189189
</FabulaProvider>
190190
)
191191

192-
export const IconsColors = () => (
192+
export const IconColors = () => (
193193
<FabulaProvider>
194194
<UtilsProvider>
195195
<div mb="1" row>

0 commit comments

Comments
 (0)