X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fplugins.js;h=565558523653e0bf743014eea0b8404671a37af3;hb=c04c8044c2f04d8db1d7987cc5cb181c03f9d7df;hp=cff1d92de82626f2f8b801a7f9f5fbc357031c71;hpb=48238e1d74c1a973c74f80f5f87bd9205fbf252e;p=dygraphs.git diff --git a/auto_tests/tests/plugins.js b/auto_tests/tests/plugins.js index cff1d92..5655585 100644 --- a/auto_tests/tests/plugins.js +++ b/auto_tests/tests/plugins.js @@ -183,9 +183,8 @@ pluginsTestCase.prototype.testEventSequence = function() { events = []; g.updateOptions({series: {Y1: {color: 'blue'}}}); assertEquals([ - "clearChart", "predraw", - "clearChart", // why is clearChart called twice? + "clearChart", "willDrawChart", "didDrawChart" ], events); @@ -207,9 +206,8 @@ pluginsTestCase.prototype.testEventSequence = function() { assertEquals([ "dataWillUpdate", "dataDidUpdate", - "clearChart", "predraw", - "clearChart", // why is clearChart called twice? + "clearChart", "willDrawChart", "didDrawChart" ], events);