Commit 2f79c06b authored by Brandon Labuschagne's avatar Brandon Labuschagne

Removed unused option + fix pipeline

parent 9ee9f03d
...@@ -93,7 +93,6 @@ export default { ...@@ -93,7 +93,6 @@ export default {
nameGap: X_AXIS_TITLE_OFFSET, nameGap: X_AXIS_TITLE_OFFSET,
}, },
}, },
today: dateFormat(new Date(), CHART_DATE_FORMAT),
get chartTitles() { get chartTitles() {
const today = dateFormat(new Date(), CHART_DATE_FORMAT); const today = dateFormat(new Date(), CHART_DATE_FORMAT);
const pastDate = timeScale => const pastDate = timeScale =>
......
...@@ -59,7 +59,7 @@ describe('ProjectsPipelinesChartsApp', () => { ...@@ -59,7 +59,7 @@ describe('ProjectsPipelinesChartsApp', () => {
it('renders with the correct data', () => { it('renders with the correct data', () => {
const charts = wrapper.findAll(PipelinesAreaChart); const charts = wrapper.findAll(PipelinesAreaChart);
for (let i = 0; i < charts.length; i++) { for (let i = 0; i < charts.length; i = i + 1) {
const chart = charts.at(i); const chart = charts.at(i);
expect(chart.exists()).toBeTruthy(); expect(chart.exists()).toBeTruthy();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment