1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: actions on log messages (#2572)

This commit is contained in:
Akash Ramaswamy
2023-12-09 19:26:51 +05:30
committed by GitHub
parent cdf9005b6f
commit e6fa8ced58
8 changed files with 82 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ import { vi, describe, expect, beforeEach, test, afterEach } from "vitest";
import { computed, nextTick } from "vue";
import { createRouter, createWebHistory } from "vue-router";
import { containerContext } from "@/composable/containerContext";
import { createI18n } from "vue-i18n";
vi.mock("@/stores/config", () => ({
__esModule: true,
@@ -68,7 +69,7 @@ describe("<LogEventSource />", () => {
return mount(LogEventSource, {
global: {
plugins: [router, createTestingPinia({ createSpy: vi.fn })],
plugins: [router, createTestingPinia({ createSpy: vi.fn }), createI18n({})],
components: {
LogViewer,
},