mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 08:29:49 -04:00
This was a testing experiment, no longer needed
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
// __mocks__/chart.js
|
|
||||||
const Chart = jest.fn().mockImplementation((context, config) => {
|
|
||||||
console.log('Chart constructor called');
|
|
||||||
return {
|
|
||||||
data: config.data,
|
|
||||||
options: config.options,
|
|
||||||
resize: jest.fn(),
|
|
||||||
update: jest.fn(),
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
Chart,
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user