20 lines
459 B
JavaScript
20 lines
459 B
JavaScript
/* eslint-disable quotes, padded-blocks, no-undef, semi */
|
|
//= 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");
|
|
})
|
|
})
|
|
|
|
});
|