We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9724ae commit 4faa6b3Copy full SHA for 4faa6b3
test/unit/Flicking.spec.ts
@@ -207,9 +207,7 @@ describe("Flicking", () => {
207
});
208
209
it("should initialized with panel which has index equal to defaultIndex when panels are not visible.", async () => {
210
- const flicking = await createFlicking(El.DEFAULT_HORIZONTAL.setWidth(0), { defaultIndex: 1, autoInit: false });
211
-
212
- await flicking.init();
+ const flicking = await createFlicking(El.DEFAULT_HORIZONTAL.setWidth(0), { defaultIndex: 1 });
213
214
expect(flicking.index).to.equal(1);
215
0 commit comments