mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
Created tests and refactored some code along the way Added stat graph util spec, refactored code finsihed up tests and refactors finsihed up tests and refactors
17 lines
368 B
JavaScript
17 lines
368 B
JavaScript
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");
|
|
})
|
|
})
|
|
|
|
}); |