Fix broken test
This commit is contained in:
parent
430131f720
commit
1c978aff62
|
@ -1,4 +1,4 @@
|
||||||
import '~/header';
|
import initTodoToggle from '~/header';
|
||||||
|
|
||||||
describe('Header', function () {
|
describe('Header', function () {
|
||||||
const todosPendingCount = '.todos-count';
|
const todosPendingCount = '.todos-count';
|
||||||
|
@ -14,6 +14,7 @@ describe('Header', function () {
|
||||||
|
|
||||||
preloadFixtures(fixtureTemplate);
|
preloadFixtures(fixtureTemplate);
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
initTodoToggle();
|
||||||
loadFixtures(fixtureTemplate);
|
loadFixtures(fixtureTemplate);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue