Fix broken test

This commit is contained in:
Filipa Lacerda 2017-10-30 19:50:17 +00:00
parent 430131f720
commit 1c978aff62
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8

View file

@ -1,4 +1,4 @@
import '~/header';
import initTodoToggle from '~/header';
describe('Header', function () {
const todosPendingCount = '.todos-count';
@ -14,6 +14,7 @@ describe('Header', function () {
preloadFixtures(fixtureTemplate);
beforeEach(() => {
initTodoToggle();
loadFixtures(fixtureTemplate);
});