From c2a280b758536a1bfa47b7f133819d1591d0d42b Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Mon, 17 Feb 2020 15:52:45 -0600 Subject: [PATCH 1/2] fix(ci): reconfigure coveralls to not swallow error exit codes --- .travis.yml | 2 +- jest.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e37a92e19..27311db25a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ install: script: - yarn lint - - travis_wait yarn test --ci --maxWorkers=2 --verbose --coverage --coverageReporters=text-lcov | yarn run coveralls # report coveralls status + - travis_wait yarn test --ci --maxWorkers=2 --verbose --coverage && cat ./coverage/lcov.info | yarn run coveralls && rm -rf ./coverage # report coveralls status after_success: - yarn publish-npm diff --git a/jest.config.js b/jest.config.js index 0edb41fe07..18bf8d9e96 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,7 +1,7 @@ module.exports = { collectCoverageFrom: ['src/components/**/*.js?(x)', '!src/**/*.story.js?(x)'], coveragePathIgnorePatterns: ['/node_modules/', '/lib/', '/coverage/'], - coverageReporters: ['html', 'text-summary'], + coverageReporters: ['html', 'text-summary', 'lcov'], coverageThreshold: { global: { statements: 80, From fb2003e34246b06ea3e3ab174dee14ac12bc880e Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Tue, 18 Feb 2020 08:48:29 -0600 Subject: [PATCH 2/2] fix: update snapshots --- .../__snapshots__/TableCard.story.storyshot | 2206 ++++++++--------- 1 file changed, 1103 insertions(+), 1103 deletions(-) diff --git a/src/components/TableCard/__snapshots__/TableCard.story.storyshot b/src/components/TableCard/__snapshots__/TableCard.story.storyshot index 9f288d2e0c..b4828d2f90 100644 --- a/src/components/TableCard/__snapshots__/TableCard.story.storyshot +++ b/src/components/TableCard/__snapshots__/TableCard.story.storyshot @@ -4589,7 +4589,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="alert" data-offset={0} - id="cell-Table-row-10-alert" + id="cell-Table-row-11-alert" offset={0} > -
- - - - - - - - - - - Low - -
-
+ /> - 2 + 5 @@ -4684,7 +4637,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-10-hour" + id="cell-Table-row-11-hour" offset={0} > + > +
+ + + + + + + + + + + Low + +
+
- 5 + 2 @@ -4779,7 +4779,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-11-hour" + id="cell-Table-row-10-hour" offset={0} > -
- - - - - - - - - - - Low - -
-
+ /> - 3 + 5 @@ -5345,7 +5298,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-3-hour" + id="cell-Table-row-4-hour" offset={0} > -
- - - - - - - - - - - Critical - -
-
+ /> - - 10 - - + /> - + > +
+ + + + + + + + + + + Moderate + +
+
+ - 5 + 7 @@ -5491,7 +5438,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-4-hour" + id="cell-Table-row-8-hour" offset={0} >
@@ -5583,17 +5530,19 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table id="Group" > - @@ -5603,7 +5552,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table - Moderate + Low
@@ -5613,16 +5562,16 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="count" data-offset={0} - id="cell-Table-row-8-count" + id="cell-Table-row-9-count" offset={0} > - 7 + 0 @@ -5631,7 +5580,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-8-hour" + id="cell-Table-row-9-hour" offset={0} > - 0 + 3 @@ -5773,7 +5722,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-9-hour" + id="cell-Table-row-3-hour" offset={0} > + > +
+ + + + + + + + + + + Critical + +
+
+ > + + 10 + + - - 10 - - + /> + > + + 10 + + - - 10 - - + /> + > + + 10 + + - 2 + 5 @@ -9692,7 +9692,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-10-hour" + id="cell-Table-row-11-hour" offset={0} > - 5 + 2 @@ -9763,7 +9763,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-11-hour" + id="cell-Table-row-10-hour" offset={0} > - 3 + 5 @@ -10047,7 +10047,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-3-hour" + id="cell-Table-row-4-hour" offset={0} > - - 10 - - + /> - 5 + 7 @@ -10124,7 +10118,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-4-hour" + id="cell-Table-row-8-hour" offset={0} > - 7 + 0 @@ -10195,7 +10189,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-8-hour" + id="cell-Table-row-9-hour" offset={0} > - 0 + 3 @@ -10266,7 +10260,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-9-hour" + id="cell-Table-row-3-hour" offset={0} > + > + + 10 + + - AHI001 proccess need to optimize adjust Y variables + AHI010 proccess need to optimize adjust Y variables @@ -11567,7 +11567,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="count" data-offset={0} - id="cell-Table-row-4-count" + id="cell-Table-row-11-count" offset={0} > - AHI010 proccess need to optimize adjust Y variables + AHI001 proccess need to optimize adjust Y variables @@ -11638,7 +11638,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="count" data-offset={0} - id="cell-Table-row-11-count" + id="cell-Table-row-4-count" offset={0} > - - 10 - - + /> + > + + 10 + + - - 10 - - + /> + > + + 10 + + - - 10 - - + /> + > + + 10 + + - - 10 - - + /> + > + + 10 + + -
- - - - - - - - - - - Low - -
-
+ /> - 2 + 5 @@ -19903,7 +19856,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-10-hour" + id="cell-Table-row-11-hour" offset={0} > + > +
+ + + + + + + + + + + Low + +
+
- 5 + 2 @@ -19998,7 +19998,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-11-hour" + id="cell-Table-row-10-hour" offset={0} > + + + -
- - - - - - - - - - - Low - -
-
- - - - - 3 - - - - - - - 10/28/2018 07:34 - - - - - -
- - - - - - - - - - - Critical - -
-
- - - - - 10 - - - - - - - - - AHI001 proccess need to optimize adjust Y variables - - - - - - - - - 5 @@ -21039,16 +20846,16 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="alert" data-offset={0} - id="cell-Table-row-5-alert" + id="cell-Table-row-3-alert" offset={0} > - AHI001 proccess need to optimize + AHI001 proccess need to optimize adjust Y variables @@ -21057,7 +20864,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="iconColumn-count" data-offset={0} - id="cell-Table-row-5-iconColumn-count" + id="cell-Table-row-3-iconColumn-count" offset={0} >
@@ -21084,19 +20891,21 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table id="Group" > - - @@ -21104,7 +20913,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table - Critical + Low
@@ -21114,16 +20923,16 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="count" data-offset={0} - id="cell-Table-row-5-count" + id="cell-Table-row-3-count" offset={0} > - 10 + 3 @@ -21132,7 +20941,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-5-hour" + id="cell-Table-row-3-hour" offset={0} > - - - -
-
+ + + + AHI001 proccess need to optimize + + + + + +
+ + + + + + + + + + + Critical + +
+
+ + + + + 10 + + + + + + + 10/28/2018 07:34 + + + + + +
+ + + + + + + + + + + Critical + +
+
+ + + + + 10 + + + + + + +
+
+
+ + + + + + 3 + + + + + + + 10/28/2018 07:34 + + + + + +
+ + + + + + + + + + + Critical
@@ -25136,63 +25178,21 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table - - - 0 - - - - - 10/28/2018 07:34 + 10 - - - - - -
@@ -26424,21 +26424,19 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table id="Group" > - - @@ -26446,7 +26444,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table - Low + Critical
@@ -26456,7 +26454,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-10-hour" + id="cell-Table-row-11-hour" offset={0} >
@@ -26572,19 +26570,21 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table id="Group" > - - @@ -26592,7 +26592,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table - Critical + Low
@@ -26602,7 +26602,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT|Table className="data-table-start TableBodyRow__StyledTableCellRow-sc-103itxu-5 jsPLxS" data-column="hour" data-offset={0} - id="cell-Table-row-11-hour" + id="cell-Table-row-10-hour" offset={0} > - - 10 - - + /> -
- - - - - - - - - - - Critical - -
-
+ /> + > +
+ + + + + + + + + + + Critical + +
+
+ > + + 10 + +