mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix tests
This commit is contained in:
parent
46fc96bf4d
commit
ae01f1726c
@ -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 = [];
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user