Fix counter package import, add stub test file

This commit is contained in:
Łukasz Mierzwa
2017-07-21 21:38:11 -07:00
parent c4f96b863c
commit 3cb33754b2
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
const favico = require("favico");
const Favico = require("favico.js");
const $ = require("jquery");
var selectors = {
@@ -52,7 +52,7 @@ function markSuccess() {
}
function init() {
favicon = new favico.Favico({
favicon = new Favico({
animation: "none",
position: "up",
bgColor: "#333",

View File

@@ -0,0 +1,5 @@
const counter = require("./counter");
test("counter hide()", () => {
counter.hide();
});