mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-07 00:36:50 +01:00
Fix tests
This commit is contained in:
@@ -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 = [];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user