diff --git a/test/core.plugin.tests.js b/test/core.plugin.tests.js index 5a6891071..520305e39 100644 --- a/test/core.plugin.tests.js +++ b/test/core.plugin.tests.js @@ -1,5 +1,14 @@ // Plugin tests describe('Test the plugin system', function() { + var oldPlugins; + + beforeAll(function() { + oldPlugins = Chart.plugins; + }); + afterAll(function() { + Chart.plugins = oldPlugins; + }); + beforeEach(function() { Chart.plugins = []; });