diff options
Diffstat (limited to 'ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js')
-rw-r--r-- | ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js b/ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js index 7dec7a85f..c960f49a7 100644 --- a/ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js +++ b/ui/app/components/app/gas-customization/gas-price-chart/tests/gas-price-chart.component.test.js @@ -6,7 +6,7 @@ import shallow from '../../../../../../lib/shallow-with-context' import * as d3 from 'd3' function timeout (time) { - return new Promise((resolve, reject) => { + return new Promise((resolve) => { setTimeout(resolve, time) }) } |