remove unused StatGraph class
This commit is contained in:
parent
c5b29ed6f3
commit
c2497d8b35
3 changed files with 0 additions and 39 deletions
|
@ -1,4 +1,3 @@
|
|||
require('./stat_graph_contributors_graph');
|
||||
require('./stat_graph_contributors_util');
|
||||
require('./stat_graph_contributors');
|
||||
require('./stat_graph');
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-return-assign, max-len */
|
||||
(function() {
|
||||
this.StatGraph = (function() {
|
||||
function StatGraph() {}
|
||||
|
||||
StatGraph.log = {};
|
||||
|
||||
StatGraph.get_log = function() {
|
||||
return this.log;
|
||||
};
|
||||
|
||||
StatGraph.set_log = function(data) {
|
||||
return this.log = data;
|
||||
};
|
||||
|
||||
return StatGraph;
|
||||
})();
|
||||
}).call(window);
|
|
@ -1,20 +0,0 @@
|
|||
/* eslint-disable quotes */
|
||||
/* global StatGraph */
|
||||
|
||||
require('~/graphs/stat_graph');
|
||||
|
||||
describe("StatGraph", function () {
|
||||
describe("#get_log", function () {
|
||||
it("returns log", function () {
|
||||
StatGraph.log = "test";
|
||||
expect(StatGraph.get_log()).toBe("test");
|
||||
});
|
||||
});
|
||||
|
||||
describe("#set_log", function () {
|
||||
it("sets the log", function () {
|
||||
StatGraph.set_log("test");
|
||||
expect(StatGraph.log).toBe("test");
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue