diff options
| author | Mike Greiling <mike@pixelcog.com> | 2017-01-10 18:02:20 -0500 |
|---|---|---|
| committer | Mike Greiling <mike@pixelcog.com> | 2017-01-18 17:16:41 -0600 |
| commit | ccada28f30326262b61638edf77b7ab163ff59a0 (patch) | |
| tree | 0cc73dc1d9d93521ccbcf1830bc51424799cb3fa /spec/javascripts/graphs | |
| parent | e7b5945c591bcd55911f495635f2f852946bd228 (diff) | |
| download | gitlab-ce-ccada28f30326262b61638edf77b7ab163ff59a0.tar.gz | |
resolve all padded-blocks eslint violations
Diffstat (limited to 'spec/javascripts/graphs')
| -rw-r--r-- | spec/javascripts/graphs/stat_graph_contributors_graph_spec.js | 5 | ||||
| -rw-r--r-- | spec/javascripts/graphs/stat_graph_contributors_util_spec.js | 7 | ||||
| -rw-r--r-- | spec/javascripts/graphs/stat_graph_spec.js | 4 |
3 files changed, 3 insertions, 13 deletions
diff --git a/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js b/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js index e2daf049d43..62f1884a994 100644 --- a/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js +++ b/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js @@ -1,4 +1,4 @@ -/* eslint-disable quotes, indent, object-curly-spacing, jasmine/no-suite-dupes, vars-on-top, no-var, padded-blocks, spaced-comment, max-len */ +/* eslint-disable quotes, indent, object-curly-spacing, jasmine/no-suite-dupes, vars-on-top, no-var, spaced-comment, max-len */ /* global d3 */ /* global ContributorsGraph */ /* global ContributorsMasterGraph */ @@ -94,7 +94,6 @@ describe("ContributorsGraph", function () { }); describe("ContributorsMasterGraph", function () { - // TODO: fix or remove //describe("#process_dates", function () { //it("gets and parses dates", function () { @@ -128,6 +127,4 @@ describe("ContributorsMasterGraph", function () { expect(data).toEqual(correct); }); }); - - }); diff --git a/spec/javascripts/graphs/stat_graph_contributors_util_spec.js b/spec/javascripts/graphs/stat_graph_contributors_util_spec.js index 38b7ff04125..f84862be583 100644 --- a/spec/javascripts/graphs/stat_graph_contributors_util_spec.js +++ b/spec/javascripts/graphs/stat_graph_contributors_util_spec.js @@ -1,10 +1,9 @@ -/* eslint-disable quotes, padded-blocks, no-var, camelcase, object-curly-spacing, indent, object-property-newline, comma-dangle, comma-spacing, spaced-comment, max-len, key-spacing, vars-on-top, quote-props, no-multi-spaces */ +/* eslint-disable quotes, no-var, camelcase, object-curly-spacing, indent, object-property-newline, comma-dangle, comma-spacing, spaced-comment, max-len, key-spacing, vars-on-top, quote-props, no-multi-spaces */ /* global ContributorsStatGraphUtil */ //= require graphs/stat_graph_contributors_util describe("ContributorsStatGraphUtil", function () { - describe("#parse_log", function () { it("returns a correctly parsed log", function () { var fake_log = [ @@ -34,7 +33,6 @@ describe("ContributorsStatGraphUtil", function () { }); describe("#store_data", function () { - var fake_entry = {author: "Karlo Soriano", date: "2013-05-09", additions: 471}; var fake_total = {}; var fake_by_author = {}; @@ -56,7 +54,6 @@ describe("ContributorsStatGraphUtil", function () { ContributorsStatGraphUtil.store_data(fake_entry, fake_total, fake_by_author); expect(ContributorsStatGraphUtil.store_deletions).toHaveBeenCalled(); }); - }); // TODO: fix or remove @@ -210,6 +207,4 @@ describe("ContributorsStatGraphUtil", function () { expect(ContributorsStatGraphUtil.in_range(date, date_range)).toEqual(false); }); }); - - }); diff --git a/spec/javascripts/graphs/stat_graph_spec.js b/spec/javascripts/graphs/stat_graph_spec.js index f85197d92d4..71b589e6b83 100644 --- a/spec/javascripts/graphs/stat_graph_spec.js +++ b/spec/javascripts/graphs/stat_graph_spec.js @@ -1,10 +1,9 @@ -/* eslint-disable quotes, padded-blocks */ +/* eslint-disable quotes */ /* global StatGraph */ //= require graphs/stat_graph describe("StatGraph", function () { - describe("#get_log", function () { it("returns log", function () { StatGraph.log = "test"; @@ -18,5 +17,4 @@ describe("StatGraph", function () { expect(StatGraph.log).toBe("test"); }); }); - }); |
