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
1 changed files with 2 additions and 1 deletions

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);
});