diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 2b344e8..72815b2 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -40,6 +40,7 @@ Fixed
- ``k-select`` does not longer updates twices when clicking in any options.
- Fixed issue were clicking on MapBox with no topology threw an error.
- Fixed key presses to select an option from ``k-input-auto`` component.
+- Fixed the ``k-chart-timeseries``/Interface Statistics Graph.
[2025.1.0] - 2025-04-14
***********************
diff --git a/__test__/App.test.js b/__test__/App.test.js
index 6ad8c89..c26d88c 100644
--- a/__test__/App.test.js
+++ b/__test__/App.test.js
@@ -1,24 +1,28 @@
import { mount, shallowMount } from '@vue/test-utils';
import App from '@/App.vue';
import Menubar from '@/components/kytos/misc/Menubar.vue';
-import { describe, test, expect, beforeAll, beforeEach } from "vitest";
-import { setActivePinia, createPinia } from 'pinia'
+import { describe, test, expect, beforeAll, beforeEach } from 'vitest';
+import { setActivePinia, createPinia } from 'pinia';
+import axios from 'axios';
-describe("App", () => {
+describe('App', () => {
beforeAll(() => {
expect(App).toBeTruthy();
});
beforeEach(() => {
- setActivePinia(createPinia())
- })
- test("Does a wrapper exists?", () => {
+ setActivePinia(createPinia());
+ });
+ test('Does a wrapper exists?', () => {
const wrapper = mount(App, {
global: {
- components: {
- 'k-menubar': Menubar
- }
+ components: {
+ 'k-menubar': Menubar
+ },
+ mocks: {
+ $http: axios
+ }
}
- });
+ });
expect(wrapper.exists()).toBe(true);
});
-});
\ No newline at end of file
+});
diff --git a/src/App.vue b/src/App.vue
index c15b0b7..c789b79 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -18,6 +18,9 @@
diff --git a/src/components/kytos/chart/Timeseries.vue b/src/components/kytos/chart/Timeseries.vue
index 6ce0e91..e8262b6 100644
--- a/src/components/kytos/chart/Timeseries.vue
+++ b/src/components/kytos/chart/Timeseries.vue
@@ -3,7 +3,7 @@